You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Bilgin Ibryam <bi...@iguanait.com> on 2008/02/22 18:05:09 UTC

Question about ofbiz url encoding

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


Re: Maven on Windows

Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <bi...@iguanait.com>
> 
> ???
> -- 
> 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.
>

Re: Maven on Windows

Posted by Bilgin Ibryam <bi...@iguanait.com>.
???
-- 
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.


Maven on Windows

Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <bi...@iguanait.com>
>>
>> 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.
>>
>>
>
> 


Re: Question about ofbiz url encoding

Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <bi...@iguanait.com>
>
> 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.
>
> 


Re: Question about ofbiz url encoding

Posted by Bilgin Ibryam <bi...@iguanait.com>.
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.