You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Chris Colman <ch...@stepaheadsoftware.com> on 2012/12/10 04:12:06 UTC

Incorrect double slash when jsessionid included in link URL in 6.x

When a browser (tested on FF and Chrome) makes a request after session
time out the jessionid is added to all links on the first page returned
- after that server detects cookies and uses those for session tracking.
 
This works fine on 1.5 but since migrating to 6.x we've noticed that the
links on that first page request have an extra slash i.e. they look
like:
 
http://www.myurl.com//news;jsessionid=215FF4213EC3F872062156804334311B
<http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B> 
 
instead of
 
http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B
 
The link with the double slash does not work when clicked and Tomcat
returns a Status 404 "resource not available" error.
 
Given that we haven't changed any code relating to how links are
rendered in our migration from 1.5 to 6.x is there a migration step that
we have missed or is this a bug?
 
 
Yours sincerely,
 
Chris Colman

Re: Incorrect double slash when jsessionid included in link URL in 6.x

Posted by Sven Meier <sv...@meiers.net>.
Can this be reproduces with wicket-examples? If not, please create a 
quickstart and attach it to a jira issue.

Thanks
Sven


On 12/10/2012 10:53 AM, Chris Colman wrote:
> I'm using the latest from git as of about 12 hours ago. I just did
> another git pull and it says it's still up to date so I've got the
> latest master source and I'm building the wicket jars from that.
>
>> -----Original Message-----
>> From: Sven Meier [mailto:sven@meiers.net]
>> Sent: Monday, 10 December 2012 7:58 PM
>> To: users@wicket.apache.org
>> Subject: Re: Incorrect double slash when jsessionid included in link
> URL in
>> 6.x
>>
>> Which 6.x version are you using? We had some Url rendering issues
> solved
>> in recent updates.
>>
>> Sven
>>
>> On 12/10/2012 04:12 AM, Chris Colman wrote:
>>> When a browser (tested on FF and Chrome) makes a request after
> session
>>> time out the jessionid is added to all links on the first page
> returned
>>> - after that server detects cookies and uses those for session
> tracking.
>>> This works fine on 1.5 but since migrating to 6.x we've noticed that
> the
>>> links on that first page request have an extra slash i.e. they look
>>> like:
>>>
>>>
> http://www.myurl.com//news;jsessionid=215FF4213EC3F872062156804334311B
> <http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B>
>>> instead of
>>>
>>> http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B
>>>
>>> The link with the double slash does not work when clicked and Tomcat
>>> returns a Status 404 "resource not available" error.
>>>
>>> Given that we haven't changed any code relating to how links are
>>> rendered in our migration from 1.5 to 6.x is there a migration step
> that
>>> we have missed or is this a bug?
>>>
>>>
>>> Yours sincerely,
>>>
>>> Chris Colman
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: Incorrect double slash when jsessionid included in link URL in 6.x [Fixed]

Posted by Chris Colman <ch...@stepaheadsoftware.com>.
Just confirming that this is fixed for our scenario.

>Please create a JIRA issue, hopefully with some details on how to
>reproduce it.
>I'm still trying to figure out what I've done to trigger the double
>slash :/.
>
>Sven
>
>On 12/11/2012 09:12 AM, Chris Colman wrote:
>> Did you still want me to raise a JIRA issue for this or will you do
>> that?
>>
>> Regards,
>> Chris
>>
>>> -----Original Message-----
>>> From: Sven Meier [mailto:sven@meiers.net]
>>> Sent: Tuesday, 11 December 2012 8:04 AM
>>> To: users@wicket.apache.org
>>> Subject: RE: Incorrect double slash when jsessionid included in link
>> URL in
>>> 6.x
>>>
>>> Seems this problem has shown up in one of our applications too :(.
>>>
>>> I'll have to investigate where this double slash is coming from.
>>>
>>> Sven
>>>
>>>
>>>
>>> --
>>> View this message in context: http://apache-
>>> wicket.1842946.n4.nabble.com/Incorrect-double-slash-when-jsessionid-
>>> included-in-link-URL-in-6-x-tp4654623p4654673.html
>>> Sent from the Users forum mailing list archive at Nabble.com.
>>>
>>>
---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Incorrect double slash when jsessionid included in link URL in 6.x

Posted by Sven Meier <sv...@meiers.net>.
Please create a JIRA issue, hopefully with some details on how to 
reproduce it.
I'm still trying to figure out what I've done to trigger the double 
slash :/.

Sven

On 12/11/2012 09:12 AM, Chris Colman wrote:
> Did you still want me to raise a JIRA issue for this or will you do
> that?
>
> Regards,
> Chris
>
>> -----Original Message-----
>> From: Sven Meier [mailto:sven@meiers.net]
>> Sent: Tuesday, 11 December 2012 8:04 AM
>> To: users@wicket.apache.org
>> Subject: RE: Incorrect double slash when jsessionid included in link
> URL in
>> 6.x
>>
>> Seems this problem has shown up in one of our applications too :(.
>>
>> I'll have to investigate where this double slash is coming from.
>>
>> Sven
>>
>>
>>
>> --
>> View this message in context: http://apache-
>> wicket.1842946.n4.nabble.com/Incorrect-double-slash-when-jsessionid-
>> included-in-link-URL-in-6-x-tp4654623p4654673.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: Incorrect double slash when jsessionid included in link URL in 6.x

Posted by Chris Colman <ch...@stepaheadsoftware.com>.
Did you still want me to raise a JIRA issue for this or will you do
that?

Regards,
Chris

>-----Original Message-----
>From: Sven Meier [mailto:sven@meiers.net]
>Sent: Tuesday, 11 December 2012 8:04 AM
>To: users@wicket.apache.org
>Subject: RE: Incorrect double slash when jsessionid included in link
URL in
>6.x
>
>Seems this problem has shown up in one of our applications too :(.
>
>I'll have to investigate where this double slash is coming from.
>
>Sven
>
>
>
>--
>View this message in context: http://apache-
>wicket.1842946.n4.nabble.com/Incorrect-double-slash-when-jsessionid-
>included-in-link-URL-in-6-x-tp4654623p4654673.html
>Sent from the Users forum mailing list archive at Nabble.com.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: Incorrect double slash when jsessionid included in link URL in 6.x

Posted by Sven Meier <sv...@meiers.net>.
Seems this problem has shown up in one of our applications too :(.

I'll have to investigate where this double slash is coming from.

Sven



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Incorrect-double-slash-when-jsessionid-included-in-link-URL-in-6-x-tp4654623p4654673.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: Incorrect double slash when jsessionid included in link URL in 6.x

Posted by Chris Colman <ch...@stepaheadsoftware.com>.
I'm trying to create a minimalist quickstart that will reproduce it.

Seems like it only happens when app is installed at root - it has it's
own domain name via a virtual host or similar, in tomcat.

i.e. it's not occurring for http://localhost/doubleslash

which means the quickstart will likely need to be installed as the root
app under a virtual host.

Using class BookmarkablePageLink

>-----Original Message-----
>From: Andrea Del Bene [mailto:a.delbene@abanet.it]
>Sent: Monday, 10 December 2012 9:06 PM
>To: users@wicket.apache.org
>Subject: Re: Incorrect double slash when jsessionid included in link
URL in
>6.x
>
>Can you open an issue with a quickstart project?
>> I'm using the latest from git as of about 12 hours ago. I just did
>> another git pull and it says it's still up to date so I've got the
>> latest master source and I'm building the wicket jars from that.
>>
>>> -----Original Message-----
>>> From: Sven Meier [mailto:sven@meiers.net]
>>> Sent: Monday, 10 December 2012 7:58 PM
>>> To: users@wicket.apache.org
>>> Subject: Re: Incorrect double slash when jsessionid included in link
>> URL in
>>> 6.x
>>>
>>> Which 6.x version are you using? We had some Url rendering issues
>> solved
>>> in recent updates.
>>>
>>> Sven
>>>
>>> On 12/10/2012 04:12 AM, Chris Colman wrote:
>>>> When a browser (tested on FF and Chrome) makes a request after
>> session
>>>> time out the jessionid is added to all links on the first page
>> returned
>>>> - after that server detects cookies and uses those for session
>> tracking.
>>>> This works fine on 1.5 but since migrating to 6.x we've noticed
that
>> the
>>>> links on that first page request have an extra slash i.e. they look
>>>> like:
>>>>
>>>>
>>
http://www.myurl.com//news;jsessionid=215FF4213EC3F872062156804334311B
>>
<http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B>
>>>> instead of
>>>>
>>>>
http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B
>>>>
>>>> The link with the double slash does not work when clicked and
Tomcat
>>>> returns a Status 404 "resource not available" error.
>>>>
>>>> Given that we haven't changed any code relating to how links are
>>>> rendered in our migration from 1.5 to 6.x is there a migration step
>> that
>>>> we have missed or is this a bug?
>>>>
>>>>
>>>> Yours sincerely,
>>>>
>>>> Chris Colman
>>>>
>>>
>>>
---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Incorrect double slash when jsessionid included in link URL in 6.x

Posted by Andrea Del Bene <a....@abanet.it>.
Can you open an issue with a quickstart project?
> I'm using the latest from git as of about 12 hours ago. I just did
> another git pull and it says it's still up to date so I've got the
> latest master source and I'm building the wicket jars from that.
>
>> -----Original Message-----
>> From: Sven Meier [mailto:sven@meiers.net]
>> Sent: Monday, 10 December 2012 7:58 PM
>> To: users@wicket.apache.org
>> Subject: Re: Incorrect double slash when jsessionid included in link
> URL in
>> 6.x
>>
>> Which 6.x version are you using? We had some Url rendering issues
> solved
>> in recent updates.
>>
>> Sven
>>
>> On 12/10/2012 04:12 AM, Chris Colman wrote:
>>> When a browser (tested on FF and Chrome) makes a request after
> session
>>> time out the jessionid is added to all links on the first page
> returned
>>> - after that server detects cookies and uses those for session
> tracking.
>>> This works fine on 1.5 but since migrating to 6.x we've noticed that
> the
>>> links on that first page request have an extra slash i.e. they look
>>> like:
>>>
>>>
> http://www.myurl.com//news;jsessionid=215FF4213EC3F872062156804334311B
> <http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B>
>>> instead of
>>>
>>> http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B
>>>
>>> The link with the double slash does not work when clicked and Tomcat
>>> returns a Status 404 "resource not available" error.
>>>
>>> Given that we haven't changed any code relating to how links are
>>> rendered in our migration from 1.5 to 6.x is there a migration step
> that
>>> we have missed or is this a bug?
>>>
>>>
>>> Yours sincerely,
>>>
>>> Chris Colman
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


RE: Incorrect double slash when jsessionid included in link URL in 6.x

Posted by Chris Colman <ch...@stepaheadsoftware.com>.
I'm using the latest from git as of about 12 hours ago. I just did
another git pull and it says it's still up to date so I've got the
latest master source and I'm building the wicket jars from that.

>-----Original Message-----
>From: Sven Meier [mailto:sven@meiers.net]
>Sent: Monday, 10 December 2012 7:58 PM
>To: users@wicket.apache.org
>Subject: Re: Incorrect double slash when jsessionid included in link
URL in
>6.x
>
>Which 6.x version are you using? We had some Url rendering issues
solved
>in recent updates.
>
>Sven
>
>On 12/10/2012 04:12 AM, Chris Colman wrote:
>> When a browser (tested on FF and Chrome) makes a request after
session
>> time out the jessionid is added to all links on the first page
returned
>> - after that server detects cookies and uses those for session
tracking.
>>
>> This works fine on 1.5 but since migrating to 6.x we've noticed that
the
>> links on that first page request have an extra slash i.e. they look
>> like:
>>
>>
http://www.myurl.com//news;jsessionid=215FF4213EC3F872062156804334311B
>>
<http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B>
>>
>> instead of
>>
>> http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B
>>
>> The link with the double slash does not work when clicked and Tomcat
>> returns a Status 404 "resource not available" error.
>>
>> Given that we haven't changed any code relating to how links are
>> rendered in our migration from 1.5 to 6.x is there a migration step
that
>> we have missed or is this a bug?
>>
>>
>> Yours sincerely,
>>
>> Chris Colman
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Incorrect double slash when jsessionid included in link URL in 6.x

Posted by Sven Meier <sv...@meiers.net>.
Which 6.x version are you using? We had some Url rendering issues solved 
in recent updates.

Sven

On 12/10/2012 04:12 AM, Chris Colman wrote:
> When a browser (tested on FF and Chrome) makes a request after session
> time out the jessionid is added to all links on the first page returned
> - after that server detects cookies and uses those for session tracking.
>   
> This works fine on 1.5 but since migrating to 6.x we've noticed that the
> links on that first page request have an extra slash i.e. they look
> like:
>   
> http://www.myurl.com//news;jsessionid=215FF4213EC3F872062156804334311B
> <http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B>
>   
> instead of
>   
> http://www.myurl.com/news;jsessionid=215FF4213EC3F872062156804334311B
>   
> The link with the double slash does not work when clicked and Tomcat
> returns a Status 404 "resource not available" error.
>   
> Given that we haven't changed any code relating to how links are
> rendered in our migration from 1.5 to 6.x is there a migration step that
> we have missed or is this a bug?
>   
>   
> Yours sincerely,
>   
> Chris Colman
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org