Question about ofbiz url encoding

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Question about ofbiz url encoding

Bilgin Ibryam
I'd like to know why encode="false" by default for all widget link
elements?

If a browser do not accept cookies, servlet container should add
jsessionid to the urls to keep the session.
Because encode="false" by default, the ofbiz url are not encoded (they
do not have jsessionid) and the session is lost. You can test it  easily
by disabling the cookies from your browser.

>From the other hand <@ofbizUrl> by default has encode="true" and all the
generated links has jsessionid. Actually the links has jsessionid only
if the cookies are disabled or it is the first request (as it should
be).

Bilgin

Reply | Threaded
Open this post in threaded view
|

Re: Question about ofbiz url encoding

Bilgin Ibryam
Any comments here?

If i am right, fixing this issue is easy. Only have to change the default values in widget xsd files.
Reply | Threaded
Open this post in threaded view
|

Re: Question about ofbiz url encoding

Jacques Le Roux
Administrator
I did not look at it but if, as you said, <@ofbizUrl> by default has encode="true", it seems the right seems to do since I can't see
why FTL generated links should have it and not widget links.

Jacques

From: "Bilgin Ibryam" <[hidden email]>

>
> Any comments here?
>
> If i am right, fixing this issue is easy. Only have to change the default
> values in widget xsd files.
>
> --
> View this message in context: http://www.nabble.com/Question-about-ofbiz-url-encoding-tp15638660p15746918.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
>

Reply | Threaded
Open this post in threaded view
|

Maven on Windows

Jacques Le Roux
Administrator
Sorry guys,

>I did not look at it but if, as you said, <@ofbizUrl> by default has encode="true", it seems the right seems to do since I can't
>see why FTL generated links should have it and not widget links.

Was "[...] it seems the right things to do since I can't see[...]", of course

I must be tired :(

Jacques

>
> Jacques
>
> From: "Bilgin Ibryam" <[hidden email]>
>>
>> Any comments here?
>>
>> If i am right, fixing this issue is easy. Only have to change the default
>> values in widget xsd files.
>>
>> --
>> View this message in context: http://www.nabble.com/Question-about-ofbiz-url-encoding-tp15638660p15746918.html
>> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Maven on Windows

Bilgin Ibryam
???
Reply | Threaded
Open this post in threaded view
|

Re: Maven on Windows

Jacques Le Roux
Administrator
Hi Bilgin,

It was only to correct a word in my previsous post ("seems" in place of "things") BTW I changed the title by mistake (wrong paste)

Sorry for the noise

Jacques

From: "Bilgin Ibryam" <[hidden email]>
>
> ???
> --
> View this message in context: http://www.nabble.com/Question-about-ofbiz-url-encoding-tp15638660p15773244.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>