Oh well, that's not the issue. The issue is that it *is* encoding when I don't want it to--i.e. when cookie are enabled.


From: "Christopher Painter-Wakefield" <[EMAIL PROTECTED]>

there was a bugfix on the EncodeURLTransformer recently (exactly which
release slips my mind) because it didn't correctly encode on the initial
page.  It is possible that the fix causes your issue.  What version of
Cocoon are you using?

You can search bugzilla for the fix, see if it is the cause of your issue.
If so, submit a new bug report :)

-Christopher




Good question, Joerg. I was told by 1 or 2 other people on this list that the EncodeURLTransformer won't rewrite the links with the session ID if cookies are enabled. Thus, they said, I could use <map:transform type="encodeURL"/> at the end of all of my pipelines with impunity. It will work when it needs to work, and do nothing when cookies are enabled.

So I tried it, and now I notice links are being rewritten even with cookies

enabled, both for Mozilla Firebird and for IE (IE is the most important for

us by far).

Anyhow, 2 other reasons I'd prefer URL/link rewriting not to occur when
cookies are enabled:
1.) It takes up precious time to parse a document and rewrite links.
2.) If someone closes the browser, the session is gone, whereas a cookie
still remains even after closing the browser and can be used to
re-establish
the same session, provided the session is still valid on the server.

I might easily have some misunderstandings here, which is why I've tried to

explain my current understanding.  Please point out any points on which I
have erred.

Sonny

>From: Joerg Heinicke <[EMAIL PROTECTED]>
>
>I wonder why you don't abstain from cookies completely? If you use URL
>encoding for some users why not for all? We disregard cookies in our
>company completely because can potentially have switched them off.
>
>Joerg
>
>Sonny Sukumar wrote:
>>
>>Hi guys,
>>
>>I sent the below message a few days ago but didn't hear from anyone. I'm


>>not sure why the links are being rewritten, and I've verified that it
>>happens with IE as well (again, with cookies enabled).
>>
>>>
>>>I'm using the EncodeURLTransformer in all of my pipelines just before
>>>serializing the output, but from what I read I thought it is only
>>>supposed to encode URLs if cookies are disabled in the browser.
>>>
>>>I've confirmed that cookies are enabled for my browser (Mozilla Firebird


>>>v0.6), but the URLs keep getting rewritten with a jsessionid parameter.
>>>
>>>What could be wrong?
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

_________________________________________________________________
MSN 8: Get 6 months for $9.95/month http://join.msn.com/?page=dept/dialup


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________ MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to