WebGUI
      Click here to register.
      
Sprechen Sie WebGUI? Parlez vous WebGUI? Se habla WebGUI? Spreekt u WebGUI?

Do you speak WebGUI? Please help us translate WebGUI into your language.



     Report a Bug > WebGUI Bug Tracker

Macro not working i Httpproxy

User erik.svanberg
Date 6/4/2007 10:34 am
Severity Cosmetic (misspelling, formatting problems)
Version WebGUI 7.3.18
Views 302
Rating -2    Rate [
|
]
Karma Rank 0.000000
Previous · Next
User Message
erik.svanberg

Some issues with the HttpProxy object.

When acccessing a layout with the HttpProxy asset everythings look nice. But when inside the asset all macros is printed as in template language ^MyMacro(); 

This was working in last release we used, 7.3.15 .

/Erik 



Back to Top
Rate [
|
]
 
 
DBell

I "fixed" this in 7.3.17, where there was a problem handling binary files through the HttpProxy (they were parsed for macros, which was wrong). I saw the comment that said "Do not process macros", noticed that macros were being processed, and made it so they weren't.

One of two things (or maybe both) to fix this:

1) Macros should only be processed if the content returned by the proxy is text/*.

2) Provide an option to not process macros in the proxied pages.

(1) would solve the binary files problem, and (2) would solve the possibility for XSS by proxying a site that knows what macros to use. 

In my opinion, this is still a bug and not an RFE. 



Back to Top
Rate [
|
]
 
 
Graham
I believe the problem in this case is not macros in the proxied content, but in the template for the HttpProxy Asset.

Back to Top
Rate [
|
]
 
 
Graham

This is fixed for Macros in the template.

If you Macros to be processed in the proxied content, post an RFE. 



Back to Top
Rate [
|
]