Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Hi Peter, Thanks for your comments. My component is of type 3 I would say but based upon the fact that the pages for the crumb-trail need to have a BreadCrumb-annotation with some properties set. Currently I only store the pages with the annotation in the stack which makes it possible to jump to a page that is not annotated. That's why I checked the referer-header. Now that I've read your comments it feels like I should change to an approach where I keep all pages in the stack but only show those with the annotation. Then I can always check the previous page in the stack since it will always be the page at the top. Regards, Joakim On Mon, Oct 31, 2011 at 11:01 AM, wrote: > Hi Joakim, > > I haven't used your component so I am probably not the best person to comment > in this respect, since I wouldn't know enough about the implementation; I can > only comment on my own solutions... I have written two types of breadcrumb > components in the past for Tapestry 4 and 5, and what worked best for me was > to decide first what school of thought I wanted to follow, then the rest was > easy: > > 1. Location-based breadcrumbs: Which show the user where they are in the > website’s hierarchy, for this I use a sitemap (mine is xml based since I > started with T4), but another option I haven't explored yet, but might be > worth been considering is using an annotated page class combined with an enum > to resolve the parent in the hierarchy. Once you have the parent you need > very little more to create this type of trail. > > 2. Attribute-based breadcrumbs: I have not implemented this type of > breadcrumb, but its the easiest to implement given you would know the current > page, and then derive all the attributes for the page from it. > > 3. Path-based breadcrumbs: To implement this I used a stack, which works > almost like a browser history (back button); the next link clicked then binds > itself to the previous on the stack. With a bit of clever logic and storing a > reference to the parent you can easily detect duplicates when traversing the > stack and truncate the stack accordingly when the same link is clicked twice. > Again not very complicated. > > So to answer your question: >> Do you know of something more reliable? One option would of course be >> to look at the last item in the crumb-list but since it's possible to >> have pages that are not added to the crumb-list it's a bit unreliable >> as well. > The classic example is an error page or a generic message page, you sometimes > don't quite know where to put it... for path based breadcrumbs this is a no > brainier, for location based breadcrumbs this is exactly why you always need > a reference to a 'parent' even if its the root, which gives you the > flexibility to decide case by case. > >> I could of course keep a separate list of pages regardless of if it >> has the BreadCrumb-annotation or not. > Which is what I am doing using an XML site map, some would say yuck! but if > its hierarchical data its a perfect fit, of course you could try the > annotation with enum approach, I use something similar to design site > hierarchy's when using portlets. > > Kind regards, > Peter > > - Original Message ----- > From: "Joakim Olsson" > To: "Tapestry users" > Sent: Monday, 31 October, 2011 09:33:50 GMT +02:00 Athens, Bucharest, Istanbul > Subject: Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' > is not valid; the character ';' at position 6 is not valid. > > Hi, > > The referer-header is not something that I rely on, it's only used as > a value-add. It's used together with the BreadCrumbReset-annotation > where it's possible to say that the crumb-trail should not be reset > when the user comes from one of the specified pages. The worst thing > that would happen is that the crumb-trail is reset when it shouldn't > have been. Annoying enough probably though. > > Do you know of something more reliable? One option would of course be > to look at the last item in the crumb-list but since it's possible to > have pages that are not added to the crumb-list it's a bit unreliable > as well. > > I could of course keep a separate list of pages regardless of if it > has the BreadCrumb-annotation or not. > > Regards, > Joakim > > > On Mon, Oct 31, 2011 at 8:27 AM, wrote: >> Hi Joakim, >> >> Regardless of the issue with the ';' , I would rethink using the referer >> header since its a pretty unreliable header, in-fact IE does not always pass >> it along deliberately, I have noticed this in my own co
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Hi Joakim, I haven't used your component so I am probably not the best person to comment in this respect, since I wouldn't know enough about the implementation; I can only comment on my own solutions... I have written two types of breadcrumb components in the past for Tapestry 4 and 5, and what worked best for me was to decide first what school of thought I wanted to follow, then the rest was easy: 1. Location-based breadcrumbs: Which show the user where they are in the website’s hierarchy, for this I use a sitemap (mine is xml based since I started with T4), but another option I haven't explored yet, but might be worth been considering is using an annotated page class combined with an enum to resolve the parent in the hierarchy. Once you have the parent you need very little more to create this type of trail. 2. Attribute-based breadcrumbs: I have not implemented this type of breadcrumb, but its the easiest to implement given you would know the current page, and then derive all the attributes for the page from it. 3. Path-based breadcrumbs: To implement this I used a stack, which works almost like a browser history (back button); the next link clicked then binds itself to the previous on the stack. With a bit of clever logic and storing a reference to the parent you can easily detect duplicates when traversing the stack and truncate the stack accordingly when the same link is clicked twice. Again not very complicated. So to answer your question: > Do you know of something more reliable? One option would of course be > to look at the last item in the crumb-list but since it's possible to > have pages that are not added to the crumb-list it's a bit unreliable > as well. The classic example is an error page or a generic message page, you sometimes don't quite know where to put it... for path based breadcrumbs this is a no brainier, for location based breadcrumbs this is exactly why you always need a reference to a 'parent' even if its the root, which gives you the flexibility to decide case by case. > I could of course keep a separate list of pages regardless of if it > has the BreadCrumb-annotation or not. Which is what I am doing using an XML site map, some would say yuck! but if its hierarchical data its a perfect fit, of course you could try the annotation with enum approach, I use something similar to design site hierarchy's when using portlets. Kind regards, Peter - Original Message - From: "Joakim Olsson" To: "Tapestry users" Sent: Monday, 31 October, 2011 09:33:50 GMT +02:00 Athens, Bucharest, Istanbul Subject: Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid. Hi, The referer-header is not something that I rely on, it's only used as a value-add. It's used together with the BreadCrumbReset-annotation where it's possible to say that the crumb-trail should not be reset when the user comes from one of the specified pages. The worst thing that would happen is that the crumb-trail is reset when it shouldn't have been. Annoying enough probably though. Do you know of something more reliable? One option would of course be to look at the last item in the crumb-list but since it's possible to have pages that are not added to the crumb-list it's a bit unreliable as well. I could of course keep a separate list of pages regardless of if it has the BreadCrumb-annotation or not. Regards, Joakim On Mon, Oct 31, 2011 at 8:27 AM, wrote: > Hi Joakim, > > Regardless of the issue with the ';' , I would rethink using the referer > header since its a pretty unreliable header, in-fact IE does not always pass > it along deliberately, I have noticed this in my own code, and this is backed > up by various supporting tickets like: http://support.microsoft.com/kb/178066 > > Kind regards, > Peter > > ----- Original Message - > From: "Joakim Olsson" > To: "Tapestry users" > Sent: Saturday, 29 October, 2011 14:34:33 GMT +02:00 Athens, Bucharest, > Istanbul > Subject: Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' > is not valid; the character ';' at position 6 is not valid. > > The problem I have seen is when Tapestry is trying to extract the > EventContext from the path. It's using URLEncoderImpl.decode which > chokes on the ; since it probably should have been encoded before > being put on the URL. > > I think the servlet-container usually handles this but in the case > with tapestry-breadcrumbs the Referer-header is used to get the > referring page and it might contain the jsessionid. Not Tapestrys > fault in this case > > I don't know regarding Tapestry 5.1.x though. Haven't used it i
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Hi, The referer-header is not something that I rely on, it's only used as a value-add. It's used together with the BreadCrumbReset-annotation where it's possible to say that the crumb-trail should not be reset when the user comes from one of the specified pages. The worst thing that would happen is that the crumb-trail is reset when it shouldn't have been. Annoying enough probably though. Do you know of something more reliable? One option would of course be to look at the last item in the crumb-list but since it's possible to have pages that are not added to the crumb-list it's a bit unreliable as well. I could of course keep a separate list of pages regardless of if it has the BreadCrumb-annotation or not. Regards, Joakim On Mon, Oct 31, 2011 at 8:27 AM, wrote: > Hi Joakim, > > Regardless of the issue with the ';' , I would rethink using the referer > header since its a pretty unreliable header, in-fact IE does not always pass > it along deliberately, I have noticed this in my own code, and this is backed > up by various supporting tickets like: http://support.microsoft.com/kb/178066 > > Kind regards, > Peter > > - Original Message - > From: "Joakim Olsson" > To: "Tapestry users" > Sent: Saturday, 29 October, 2011 14:34:33 GMT +02:00 Athens, Bucharest, > Istanbul > Subject: Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' > is not valid; the character ';' at position 6 is not valid. > > The problem I have seen is when Tapestry is trying to extract the > EventContext from the path. It's using URLEncoderImpl.decode which > chokes on the ; since it probably should have been encoded before > being put on the URL. > > I think the servlet-container usually handles this but in the case > with tapestry-breadcrumbs the Referer-header is used to get the > referring page and it might contain the jsessionid. Not Tapestrys > fault in this case > > I don't know regarding Tapestry 5.1.x though. Haven't used it in a > long time now. > > Regards, > Joakim > > > On Fri, Oct 28, 2011 at 3:08 AM, Szemere Szemere > wrote: >> I see the too in development. Version 5.1.2? >> >> Szemere >> >> On 27 Oct 2011, at 16:43, Muhammad Gelbana wrote: >> >>> Please specify the exact scenario to reproduce this issue and state the >>> version you are using >>> >>> On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks >>> wrote: >>> >>>> >>>> Hello >>>> >>>> I see this error message a lot. Almost always after my first login >>>> attempt... >>>> >>>> What is causing this error? >>>> >>>> Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not >>>> valid; the character ';' at position 6 is not valid. >>>> >>>> regards, >>>> Leon >>>> - >>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>>> For additional commands, e-mail: users-h...@tapestry.apache.org >>>> >>>> >>> >>> >>> -- >>> *Regards,* >>> *Muhammad Gelbana >>> Java Developer* >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Hi Joakim, Regardless of the issue with the ';' , I would rethink using the referer header since its a pretty unreliable header, in-fact IE does not always pass it along deliberately, I have noticed this in my own code, and this is backed up by various supporting tickets like: http://support.microsoft.com/kb/178066 Kind regards, Peter - Original Message - From: "Joakim Olsson" To: "Tapestry users" Sent: Saturday, 29 October, 2011 14:34:33 GMT +02:00 Athens, Bucharest, Istanbul Subject: Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid. The problem I have seen is when Tapestry is trying to extract the EventContext from the path. It's using URLEncoderImpl.decode which chokes on the ; since it probably should have been encoded before being put on the URL. I think the servlet-container usually handles this but in the case with tapestry-breadcrumbs the Referer-header is used to get the referring page and it might contain the jsessionid. Not Tapestrys fault in this case I don't know regarding Tapestry 5.1.x though. Haven't used it in a long time now. Regards, Joakim On Fri, Oct 28, 2011 at 3:08 AM, Szemere Szemere wrote: > I see the too in development. Version 5.1.2? > > Szemere > > On 27 Oct 2011, at 16:43, Muhammad Gelbana wrote: > >> Please specify the exact scenario to reproduce this issue and state the >> version you are using >> >> On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks >> wrote: >> >>> >>> Hello >>> >>> I see this error message a lot. Almost always after my first login >>> attempt... >>> >>> What is causing this error? >>> >>> Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not >>> valid; the character ';' at position 6 is not valid. >>> >>> regards, >>> Leon >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >> >> >> -- >> *Regards,* >> *Muhammad Gelbana >> Java Developer* > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
The problem I have seen is when Tapestry is trying to extract the EventContext from the path. It's using URLEncoderImpl.decode which chokes on the ; since it probably should have been encoded before being put on the URL. I think the servlet-container usually handles this but in the case with tapestry-breadcrumbs the Referer-header is used to get the referring page and it might contain the jsessionid. Not Tapestrys fault in this case I don't know regarding Tapestry 5.1.x though. Haven't used it in a long time now. Regards, Joakim On Fri, Oct 28, 2011 at 3:08 AM, Szemere Szemere wrote: > I see the too in development. Version 5.1.2? > > Szemere > > On 27 Oct 2011, at 16:43, Muhammad Gelbana wrote: > >> Please specify the exact scenario to reproduce this issue and state the >> version you are using >> >> On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks >> wrote: >> >>> >>> Hello >>> >>> I see this error message a lot. Almost always after my first login >>> attempt... >>> >>> What is causing this error? >>> >>> Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not >>> valid; the character ';' at position 6 is not valid. >>> >>> regards, >>> Leon >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >> >> >> -- >> *Regards,* >> *Muhammad Gelbana >> Java Developer* > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
I see the too in development. Version 5.1.2? Szemere On 27 Oct 2011, at 16:43, Muhammad Gelbana wrote: > Please specify the exact scenario to reproduce this issue and state the > version you are using > > On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks > wrote: > >> >> Hello >> >> I see this error message a lot. Almost always after my first login >> attempt... >> >> What is causing this error? >> >> Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not >> valid; the character ';' at position 6 is not valid. >> >> regards, >> Leon >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > *Regards,* > *Muhammad Gelbana > Java Developer* - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Alright. New version that strips jsessionid from the url when constructing the ReferrerRequest is released and should be available withing an hour. Thanks Leon and David for identifying the problem. Regards, Joakim On Fri, Oct 28, 2011 at 2:27 PM, Leon Derks wrote: > > This also works... and now we don't have to set the previousPage to null. > > public static ReferrerRequest fromUri(final String uri, final Request > request) { > if (uri == null) { > return null; > } > > final String serverRegexp = "^.*://" + request.getServerName() + "(:" > + request.getServerPort() > + ")?" + request.getContextPath(); > > if (!uri.matches(serverRegexp + ".*$")) { > return null; > } > > final String path = uri.replaceFirst(serverRegexp, ""); > > int index = path.contains(";jsessionid") ? path.indexOf(";jsessionid") > : path.length() - 1; > > return new ReferrerRequest(path.substring(0, index), request); > } > > > > On Oct 28, 2011, at 12:43 PM, Joakim Olsson wrote: > >> Aaah...Sounds like an easy fix. Care to send a pull request at Github? >> Since you have already solved the problem I mean. :-) >> >> /Joakim >> >> >> 2011/10/28 Dávið Klein Sundsskarð : >>> Hi, >>> >>> I have had the same issue with the Breadcrumb component. >>> The problem is that the referrer contains a ";", which comes from >>> tapestryRequest.getHeader("Referer") in the BreadCrumbDispatcher. >>> decodePageRenderRequest doesn't like the ";" >>> (componentEventLinkEncoder.decodePageRenderRequest(referrerRequest);) >>> >>> I just check the string for ; and set previousPage to null if is true. I've >>> only experienced it to be true after the login page which is never part of >>> the breadcrumb. >>> Not the prettiest workaround but it works... >>> We use Jetty so it isn't a Tomcat issue per se. >>> >>> /david >>> >>> -Original Message- >>> From: Leon Derks [mailto:leon.de...@aurumeurope.com] >>> Sent: 28. oktober 2011 12:29 >>> To: Tapestry users >>> Subject: Re: Input string >>> 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the >>> character ';' at position 6 is not valid. >>> >>> Hello Joakim, >>> >>> That would be great!! >>> >>> regards, >>> Leon >>> >>> On Oct 28, 2011, at 12:23 PM, Joakim Olsson wrote: >>> >>>> Hi, >>>> >>>> Being the author of the breadcrumb component, I can confirm that I >>>> have seen that from time to time as well. I can try to find out if >>>> there is something that I can do about it or if it has it's roots >>>> deeper into the Tapestry code. >>>> >>>> Regards, >>>> Joakim >>>> >>>> >>>> On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks >>>> wrote: >>>>> Hello >>>>> >>>>> Thank you all for your great support! >>>>> >>>>> I am using Tapestry 5.2.6. >>>>> >>>>> I just found out something what causes this issue. >>>>> >>>>> I use a breadcrumb component with a BreadCrumbDispatcher see >>>>> https://github.com/argoyle/tapestry-breadcrumbs >>>>> >>>>> When I don't use this breadcrumb mechanism, everything works fine. >>>>> >>>>> When I use this component, I get the error only after I have cleared my >>>>> web history (cache, cookie etc) and I guess also when my session has >>>>> expired. >>>>> >>>>> Does somebody now understand what might be the cause and how I can fix >>>>> this? >>>>> >>>>> regards, >>>>> Leon >>>>> >>>>> >>>>> On Oct 28, 2011, at 10:36 AM, Steve Eynon wrote: >>>>> >>>>>> On what version of T5 are you using and under what circumstances exactly? >>>>>> >>>>>> For on T5.2.6 I can't generate the error with PageLinks or EventLinks. >>>>>> >>>>>> Steve. >>>>>> >>>>>> >>>>>> >>>>>> On 28 Octobe
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
True. Seems like a good solution. /Joakim On Fri, Oct 28, 2011 at 2:27 PM, Leon Derks wrote: > > This also works... and now we don't have to set the previousPage to null. > > public static ReferrerRequest fromUri(final String uri, final Request > request) { > if (uri == null) { > return null; > } > > final String serverRegexp = "^.*://" + request.getServerName() + "(:" > + request.getServerPort() > + ")?" + request.getContextPath(); > > if (!uri.matches(serverRegexp + ".*$")) { > return null; > } > > final String path = uri.replaceFirst(serverRegexp, ""); > > int index = path.contains(";jsessionid") ? path.indexOf(";jsessionid") > : path.length() - 1; > > return new ReferrerRequest(path.substring(0, index), request); > } > > > > On Oct 28, 2011, at 12:43 PM, Joakim Olsson wrote: > >> Aaah...Sounds like an easy fix. Care to send a pull request at Github? >> Since you have already solved the problem I mean. :-) >> >> /Joakim >> >> >> 2011/10/28 Dávið Klein Sundsskarð : >>> Hi, >>> >>> I have had the same issue with the Breadcrumb component. >>> The problem is that the referrer contains a ";", which comes from >>> tapestryRequest.getHeader("Referer") in the BreadCrumbDispatcher. >>> decodePageRenderRequest doesn't like the ";" >>> (componentEventLinkEncoder.decodePageRenderRequest(referrerRequest);) >>> >>> I just check the string for ; and set previousPage to null if is true. I've >>> only experienced it to be true after the login page which is never part of >>> the breadcrumb. >>> Not the prettiest workaround but it works... >>> We use Jetty so it isn't a Tomcat issue per se. >>> >>> /david >>> >>> -Original Message- >>> From: Leon Derks [mailto:leon.de...@aurumeurope.com] >>> Sent: 28. oktober 2011 12:29 >>> To: Tapestry users >>> Subject: Re: Input string >>> 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the >>> character ';' at position 6 is not valid. >>> >>> Hello Joakim, >>> >>> That would be great!! >>> >>> regards, >>> Leon >>> >>> On Oct 28, 2011, at 12:23 PM, Joakim Olsson wrote: >>> >>>> Hi, >>>> >>>> Being the author of the breadcrumb component, I can confirm that I >>>> have seen that from time to time as well. I can try to find out if >>>> there is something that I can do about it or if it has it's roots >>>> deeper into the Tapestry code. >>>> >>>> Regards, >>>> Joakim >>>> >>>> >>>> On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks >>>> wrote: >>>>> Hello >>>>> >>>>> Thank you all for your great support! >>>>> >>>>> I am using Tapestry 5.2.6. >>>>> >>>>> I just found out something what causes this issue. >>>>> >>>>> I use a breadcrumb component with a BreadCrumbDispatcher see >>>>> https://github.com/argoyle/tapestry-breadcrumbs >>>>> >>>>> When I don't use this breadcrumb mechanism, everything works fine. >>>>> >>>>> When I use this component, I get the error only after I have cleared my >>>>> web history (cache, cookie etc) and I guess also when my session has >>>>> expired. >>>>> >>>>> Does somebody now understand what might be the cause and how I can fix >>>>> this? >>>>> >>>>> regards, >>>>> Leon >>>>> >>>>> >>>>> On Oct 28, 2011, at 10:36 AM, Steve Eynon wrote: >>>>> >>>>>> On what version of T5 are you using and under what circumstances exactly? >>>>>> >>>>>> For on T5.2.6 I can't generate the error with PageLinks or EventLinks. >>>>>> >>>>>> Steve. >>>>>> >>>>>> >>>>>> >>>>>> On 28 October 2011 16:24, Christian Riedel >>>>>> wrote: >>>>>>> I see the same exception in log files for years now. Last thing I >>>>>>>
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
This also works... and now we don't have to set the previousPage to null. public static ReferrerRequest fromUri(final String uri, final Request request) { if (uri == null) { return null; } final String serverRegexp = "^.*://" + request.getServerName() + "(:" + request.getServerPort() + ")?" + request.getContextPath(); if (!uri.matches(serverRegexp + ".*$")) { return null; } final String path = uri.replaceFirst(serverRegexp, ""); int index = path.contains(";jsessionid") ? path.indexOf(";jsessionid") : path.length() - 1; return new ReferrerRequest(path.substring(0, index), request); } On Oct 28, 2011, at 12:43 PM, Joakim Olsson wrote: > Aaah...Sounds like an easy fix. Care to send a pull request at Github? > Since you have already solved the problem I mean. :-) > > /Joakim > > > 2011/10/28 Dávið Klein Sundsskarð : >> Hi, >> >> I have had the same issue with the Breadcrumb component. >> The problem is that the referrer contains a ";", which comes from >> tapestryRequest.getHeader("Referer") in the BreadCrumbDispatcher. >> decodePageRenderRequest doesn't like the ";" >> (componentEventLinkEncoder.decodePageRenderRequest(referrerRequest);) >> >> I just check the string for ; and set previousPage to null if is true. I've >> only experienced it to be true after the login page which is never part of >> the breadcrumb. >> Not the prettiest workaround but it works... >> We use Jetty so it isn't a Tomcat issue per se. >> >> /david >> >> -Original Message- >> From: Leon Derks [mailto:leon.de...@aurumeurope.com] >> Sent: 28. oktober 2011 12:29 >> To: Tapestry users >> Subject: Re: Input string >> 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the >> character ';' at position 6 is not valid. >> >> Hello Joakim, >> >> That would be great!! >> >> regards, >> Leon >> >> On Oct 28, 2011, at 12:23 PM, Joakim Olsson wrote: >> >>> Hi, >>> >>> Being the author of the breadcrumb component, I can confirm that I >>> have seen that from time to time as well. I can try to find out if >>> there is something that I can do about it or if it has it's roots >>> deeper into the Tapestry code. >>> >>> Regards, >>> Joakim >>> >>> >>> On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks >>> wrote: >>>> Hello >>>> >>>> Thank you all for your great support! >>>> >>>> I am using Tapestry 5.2.6. >>>> >>>> I just found out something what causes this issue. >>>> >>>> I use a breadcrumb component with a BreadCrumbDispatcher see >>>> https://github.com/argoyle/tapestry-breadcrumbs >>>> >>>> When I don't use this breadcrumb mechanism, everything works fine. >>>> >>>> When I use this component, I get the error only after I have cleared my >>>> web history (cache, cookie etc) and I guess also when my session has >>>> expired. >>>> >>>> Does somebody now understand what might be the cause and how I can fix >>>> this? >>>> >>>> regards, >>>> Leon >>>> >>>> >>>> On Oct 28, 2011, at 10:36 AM, Steve Eynon wrote: >>>> >>>>> On what version of T5 are you using and under what circumstances exactly? >>>>> >>>>> For on T5.2.6 I can't generate the error with PageLinks or EventLinks. >>>>> >>>>> Steve. >>>>> >>>>> >>>>> >>>>> On 28 October 2011 16:24, Christian Riedel >>>>> wrote: >>>>>> I see the same exception in log files for years now. Last thing I >>>>>> remember is that it happened in T5.1 apps already. It's definitely >>>>>> something that tapestry does not always ignore. >>>>>> I'd say, Leon, you should create a JIRA for this! >>>>>> >>>>>> >>>>>> Am 28.10.2011 um 04:49 schrieb Steve Eynon: >>>>>> >>>>>>> jsessionid's are unique id's created by the web-server (i.e. jetty >>>>>>> or >>>>&
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
I got a pull request from David so it should fix it in the breadcrumb component. Will get it merged and released during the weekend. Don't know if the fix could be performed in the Tapestry-code instead. I can try to dive deeper into the code during the weekend as well. /Joakim On Fri, Oct 28, 2011 at 1:20 PM, Leon Derks wrote: > Thanks guys! > > But what is now the final conclusion? Is this now a Tapestry issue, because > the decodePageRenderRequest doesn't like the ";" ? > > regards, > Leon > > > > > > On Oct 28, 2011, at 12:43 PM, Joakim Olsson wrote: > >> Aaah...Sounds like an easy fix. Care to send a pull request at Github? >> Since you have already solved the problem I mean. :-) >> >> /Joakim >> >> >> 2011/10/28 Dávið Klein Sundsskarð : >>> Hi, >>> >>> I have had the same issue with the Breadcrumb component. >>> The problem is that the referrer contains a ";", which comes from >>> tapestryRequest.getHeader("Referer") in the BreadCrumbDispatcher. >>> decodePageRenderRequest doesn't like the ";" >>> (componentEventLinkEncoder.decodePageRenderRequest(referrerRequest);) >>> >>> I just check the string for ; and set previousPage to null if is true. I've >>> only experienced it to be true after the login page which is never part of >>> the breadcrumb. >>> Not the prettiest workaround but it works... >>> We use Jetty so it isn't a Tomcat issue per se. >>> >>> /david >>> >>> -Original Message- >>> From: Leon Derks [mailto:leon.de...@aurumeurope.com] >>> Sent: 28. oktober 2011 12:29 >>> To: Tapestry users >>> Subject: Re: Input string >>> 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the >>> character ';' at position 6 is not valid. >>> >>> Hello Joakim, >>> >>> That would be great!! >>> >>> regards, >>> Leon >>> >>> On Oct 28, 2011, at 12:23 PM, Joakim Olsson wrote: >>> >>>> Hi, >>>> >>>> Being the author of the breadcrumb component, I can confirm that I >>>> have seen that from time to time as well. I can try to find out if >>>> there is something that I can do about it or if it has it's roots >>>> deeper into the Tapestry code. >>>> >>>> Regards, >>>> Joakim >>>> >>>> >>>> On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks >>>> wrote: >>>>> Hello >>>>> >>>>> Thank you all for your great support! >>>>> >>>>> I am using Tapestry 5.2.6. >>>>> >>>>> I just found out something what causes this issue. >>>>> >>>>> I use a breadcrumb component with a BreadCrumbDispatcher see >>>>> https://github.com/argoyle/tapestry-breadcrumbs >>>>> >>>>> When I don't use this breadcrumb mechanism, everything works fine. >>>>> >>>>> When I use this component, I get the error only after I have cleared my >>>>> web history (cache, cookie etc) and I guess also when my session has >>>>> expired. >>>>> >>>>> Does somebody now understand what might be the cause and how I can fix >>>>> this? >>>>> >>>>> regards, >>>>> Leon >>>>> >>>>> >>>>> On Oct 28, 2011, at 10:36 AM, Steve Eynon wrote: >>>>> >>>>>> On what version of T5 are you using and under what circumstances exactly? >>>>>> >>>>>> For on T5.2.6 I can't generate the error with PageLinks or EventLinks. >>>>>> >>>>>> Steve. >>>>>> >>>>>> >>>>>> >>>>>> On 28 October 2011 16:24, Christian Riedel >>>>>> wrote: >>>>>>> I see the same exception in log files for years now. Last thing I >>>>>>> remember is that it happened in T5.1 apps already. It's definitely >>>>>>> something that tapestry does not always ignore. >>>>>>> I'd say, Leon, you should create a JIRA for this! >>>>>>> >>>>>>> >>>>>>> Am 28.10.2011 um 04:49 schrieb Steve Eynon: >>>>>>> >
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Thanks guys! But what is now the final conclusion? Is this now a Tapestry issue, because the decodePageRenderRequest doesn't like the ";" ? regards, Leon On Oct 28, 2011, at 12:43 PM, Joakim Olsson wrote: > Aaah...Sounds like an easy fix. Care to send a pull request at Github? > Since you have already solved the problem I mean. :-) > > /Joakim > > > 2011/10/28 Dávið Klein Sundsskarð : >> Hi, >> >> I have had the same issue with the Breadcrumb component. >> The problem is that the referrer contains a ";", which comes from >> tapestryRequest.getHeader("Referer") in the BreadCrumbDispatcher. >> decodePageRenderRequest doesn't like the ";" >> (componentEventLinkEncoder.decodePageRenderRequest(referrerRequest);) >> >> I just check the string for ; and set previousPage to null if is true. I've >> only experienced it to be true after the login page which is never part of >> the breadcrumb. >> Not the prettiest workaround but it works... >> We use Jetty so it isn't a Tomcat issue per se. >> >> /david >> >> -Original Message- >> From: Leon Derks [mailto:leon.de...@aurumeurope.com] >> Sent: 28. oktober 2011 12:29 >> To: Tapestry users >> Subject: Re: Input string >> 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the >> character ';' at position 6 is not valid. >> >> Hello Joakim, >> >> That would be great!! >> >> regards, >> Leon >> >> On Oct 28, 2011, at 12:23 PM, Joakim Olsson wrote: >> >>> Hi, >>> >>> Being the author of the breadcrumb component, I can confirm that I >>> have seen that from time to time as well. I can try to find out if >>> there is something that I can do about it or if it has it's roots >>> deeper into the Tapestry code. >>> >>> Regards, >>> Joakim >>> >>> >>> On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks >>> wrote: >>>> Hello >>>> >>>> Thank you all for your great support! >>>> >>>> I am using Tapestry 5.2.6. >>>> >>>> I just found out something what causes this issue. >>>> >>>> I use a breadcrumb component with a BreadCrumbDispatcher see >>>> https://github.com/argoyle/tapestry-breadcrumbs >>>> >>>> When I don't use this breadcrumb mechanism, everything works fine. >>>> >>>> When I use this component, I get the error only after I have cleared my >>>> web history (cache, cookie etc) and I guess also when my session has >>>> expired. >>>> >>>> Does somebody now understand what might be the cause and how I can fix >>>> this? >>>> >>>> regards, >>>> Leon >>>> >>>> >>>> On Oct 28, 2011, at 10:36 AM, Steve Eynon wrote: >>>> >>>>> On what version of T5 are you using and under what circumstances exactly? >>>>> >>>>> For on T5.2.6 I can't generate the error with PageLinks or EventLinks. >>>>> >>>>> Steve. >>>>> >>>>> >>>>> >>>>> On 28 October 2011 16:24, Christian Riedel >>>>> wrote: >>>>>> I see the same exception in log files for years now. Last thing I >>>>>> remember is that it happened in T5.1 apps already. It's definitely >>>>>> something that tapestry does not always ignore. >>>>>> I'd say, Leon, you should create a JIRA for this! >>>>>> >>>>>> >>>>>> Am 28.10.2011 um 04:49 schrieb Steve Eynon: >>>>>> >>>>>>> jsessionid's are unique id's created by the web-server (i.e. jetty >>>>>>> or >>>>>>> tomcat) when it first creates a session for a client. (In your >>>>>>> case, after you login.) It is usually stored in a cookie but it is >>>>>>> also equally valid to have them stored as part of refering URLs. >>>>>>> (As you are seeing) Often this is only done for the first request >>>>>>> / response cycle until your cookie is created. >>>>>>> >>>>>>> Anyhow, the jsessionid is nothing to do with T5, T5 just has to >>>>>>> happily ignore it - which (after a quick check
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Aaah...Sounds like an easy fix. Care to send a pull request at Github? Since you have already solved the problem I mean. :-) /Joakim 2011/10/28 Dávið Klein Sundsskarð : > Hi, > > I have had the same issue with the Breadcrumb component. > The problem is that the referrer contains a ";", which comes from > tapestryRequest.getHeader("Referer") in the BreadCrumbDispatcher. > decodePageRenderRequest doesn't like the ";" > (componentEventLinkEncoder.decodePageRenderRequest(referrerRequest);) > > I just check the string for ; and set previousPage to null if is true. I've > only experienced it to be true after the login page which is never part of > the breadcrumb. > Not the prettiest workaround but it works... > We use Jetty so it isn't a Tomcat issue per se. > > /david > > -Original Message- > From: Leon Derks [mailto:leon.de...@aurumeurope.com] > Sent: 28. oktober 2011 12:29 > To: Tapestry users > Subject: Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' > is not valid; the character ';' at position 6 is not valid. > > Hello Joakim, > > That would be great!! > > regards, > Leon > > On Oct 28, 2011, at 12:23 PM, Joakim Olsson wrote: > >> Hi, >> >> Being the author of the breadcrumb component, I can confirm that I >> have seen that from time to time as well. I can try to find out if >> there is something that I can do about it or if it has it's roots >> deeper into the Tapestry code. >> >> Regards, >> Joakim >> >> >> On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks >> wrote: >>> Hello >>> >>> Thank you all for your great support! >>> >>> I am using Tapestry 5.2.6. >>> >>> I just found out something what causes this issue. >>> >>> I use a breadcrumb component with a BreadCrumbDispatcher see >>> https://github.com/argoyle/tapestry-breadcrumbs >>> >>> When I don't use this breadcrumb mechanism, everything works fine. >>> >>> When I use this component, I get the error only after I have cleared my web >>> history (cache, cookie etc) and I guess also when my session has expired. >>> >>> Does somebody now understand what might be the cause and how I can fix this? >>> >>> regards, >>> Leon >>> >>> >>> On Oct 28, 2011, at 10:36 AM, Steve Eynon wrote: >>> >>>> On what version of T5 are you using and under what circumstances exactly? >>>> >>>> For on T5.2.6 I can't generate the error with PageLinks or EventLinks. >>>> >>>> Steve. >>>> >>>> >>>> >>>> On 28 October 2011 16:24, Christian Riedel wrote: >>>>> I see the same exception in log files for years now. Last thing I >>>>> remember is that it happened in T5.1 apps already. It's definitely >>>>> something that tapestry does not always ignore. >>>>> I'd say, Leon, you should create a JIRA for this! >>>>> >>>>> >>>>> Am 28.10.2011 um 04:49 schrieb Steve Eynon: >>>>> >>>>>> jsessionid's are unique id's created by the web-server (i.e. jetty >>>>>> or >>>>>> tomcat) when it first creates a session for a client. (In your >>>>>> case, after you login.) It is usually stored in a cookie but it is >>>>>> also equally valid to have them stored as part of refering URLs. >>>>>> (As you are seeing) Often this is only done for the first request >>>>>> / response cycle until your cookie is created. >>>>>> >>>>>> Anyhow, the jsessionid is nothing to do with T5, T5 just has to >>>>>> happily ignore it - which (after a quick check on my sites) it >>>>>> does for T5.1 and T5.3 so I'm not sure where your error is coming from. >>>>>> >>>>>> Steve. >>>>>> >>>>>> >>>>>> >>>>>> On 28 October 2011 04:43, Muhammad Gelbana wrote: >>>>>>> Please specify the exact scenario to reproduce this issue and >>>>>>> state the version you are using >>>>>>> >>>>>>> On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks >>>>>>> wrote: >>>>>>> >>>>>>&g
RE: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Hi, I have had the same issue with the Breadcrumb component. The problem is that the referrer contains a ";", which comes from tapestryRequest.getHeader("Referer") in the BreadCrumbDispatcher. decodePageRenderRequest doesn't like the ";" (componentEventLinkEncoder.decodePageRenderRequest(referrerRequest);) I just check the string for ; and set previousPage to null if is true. I've only experienced it to be true after the login page which is never part of the breadcrumb. Not the prettiest workaround but it works... We use Jetty so it isn't a Tomcat issue per se. /david -Original Message- From: Leon Derks [mailto:leon.de...@aurumeurope.com] Sent: 28. oktober 2011 12:29 To: Tapestry users Subject: Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid. Hello Joakim, That would be great!! regards, Leon On Oct 28, 2011, at 12:23 PM, Joakim Olsson wrote: > Hi, > > Being the author of the breadcrumb component, I can confirm that I > have seen that from time to time as well. I can try to find out if > there is something that I can do about it or if it has it's roots > deeper into the Tapestry code. > > Regards, > Joakim > > > On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks > wrote: >> Hello >> >> Thank you all for your great support! >> >> I am using Tapestry 5.2.6. >> >> I just found out something what causes this issue. >> >> I use a breadcrumb component with a BreadCrumbDispatcher see >> https://github.com/argoyle/tapestry-breadcrumbs >> >> When I don't use this breadcrumb mechanism, everything works fine. >> >> When I use this component, I get the error only after I have cleared my web >> history (cache, cookie etc) and I guess also when my session has expired. >> >> Does somebody now understand what might be the cause and how I can fix this? >> >> regards, >> Leon >> >> >> On Oct 28, 2011, at 10:36 AM, Steve Eynon wrote: >> >>> On what version of T5 are you using and under what circumstances exactly? >>> >>> For on T5.2.6 I can't generate the error with PageLinks or EventLinks. >>> >>> Steve. >>> >>> >>> >>> On 28 October 2011 16:24, Christian Riedel wrote: >>>> I see the same exception in log files for years now. Last thing I remember >>>> is that it happened in T5.1 apps already. It's definitely something that >>>> tapestry does not always ignore. >>>> I'd say, Leon, you should create a JIRA for this! >>>> >>>> >>>> Am 28.10.2011 um 04:49 schrieb Steve Eynon: >>>> >>>>> jsessionid's are unique id's created by the web-server (i.e. jetty >>>>> or >>>>> tomcat) when it first creates a session for a client. (In your >>>>> case, after you login.) It is usually stored in a cookie but it is >>>>> also equally valid to have them stored as part of refering URLs. >>>>> (As you are seeing) Often this is only done for the first request >>>>> / response cycle until your cookie is created. >>>>> >>>>> Anyhow, the jsessionid is nothing to do with T5, T5 just has to >>>>> happily ignore it - which (after a quick check on my sites) it >>>>> does for T5.1 and T5.3 so I'm not sure where your error is coming from. >>>>> >>>>> Steve. >>>>> >>>>> >>>>> >>>>> On 28 October 2011 04:43, Muhammad Gelbana wrote: >>>>>> Please specify the exact scenario to reproduce this issue and >>>>>> state the version you are using >>>>>> >>>>>> On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks >>>>>> wrote: >>>>>> >>>>>>> >>>>>>> Hello >>>>>>> >>>>>>> I see this error message a lot. Almost always after my first >>>>>>> login attempt... >>>>>>> >>>>>>> What is causing this error? >>>>>>> >>>>>>> Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' >>>>>>> is not valid; the character ';' at position 6 is not valid. >>>>>>> >>>>>>> regards, >>>>>>> Leon >>>>>>> -
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Hello Joakim, That would be great!! regards, Leon On Oct 28, 2011, at 12:23 PM, Joakim Olsson wrote: > Hi, > > Being the author of the breadcrumb component, I can confirm that I > have seen that from time to time as well. I can try to find out if > there is something that I can do about it or if it has it's roots > deeper into the Tapestry code. > > Regards, > Joakim > > > On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks > wrote: >> Hello >> >> Thank you all for your great support! >> >> I am using Tapestry 5.2.6. >> >> I just found out something what causes this issue. >> >> I use a breadcrumb component with a BreadCrumbDispatcher see >> https://github.com/argoyle/tapestry-breadcrumbs >> >> When I don't use this breadcrumb mechanism, everything works fine. >> >> When I use this component, I get the error only after I have cleared my web >> history (cache, cookie etc) and I guess also when my session has expired. >> >> Does somebody now understand what might be the cause and how I can fix this? >> >> regards, >> Leon >> >> >> On Oct 28, 2011, at 10:36 AM, Steve Eynon wrote: >> >>> On what version of T5 are you using and under what circumstances exactly? >>> >>> For on T5.2.6 I can't generate the error with PageLinks or EventLinks. >>> >>> Steve. >>> >>> >>> >>> On 28 October 2011 16:24, Christian Riedel wrote: I see the same exception in log files for years now. Last thing I remember is that it happened in T5.1 apps already. It's definitely something that tapestry does not always ignore. I'd say, Leon, you should create a JIRA for this! Am 28.10.2011 um 04:49 schrieb Steve Eynon: > jsessionid's are unique id's created by the web-server (i.e. jetty or > tomcat) when it first creates a session for a client. (In your case, > after you login.) It is usually stored in a cookie but it is also > equally valid to have them stored as part of refering URLs. (As you > are seeing) Often this is only done for the first request / response > cycle until your cookie is created. > > Anyhow, the jsessionid is nothing to do with T5, T5 just has to > happily ignore it - which (after a quick check on my sites) it does > for T5.1 and T5.3 so I'm not sure where your error is coming from. > > Steve. > > > > On 28 October 2011 04:43, Muhammad Gelbana wrote: >> Please specify the exact scenario to reproduce this issue and state the >> version you are using >> >> On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks >> wrote: >> >>> >>> Hello >>> >>> I see this error message a lot. Almost always after my first login >>> attempt... >>> >>> What is causing this error? >>> >>> Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not >>> valid; the character ';' at position 6 is not valid. >>> >>> regards, >>> Leon >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >> >> >> -- >> *Regards,* >> *Muhammad Gelbana >> Java Developer* >> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Hi, Being the author of the breadcrumb component, I can confirm that I have seen that from time to time as well. I can try to find out if there is something that I can do about it or if it has it's roots deeper into the Tapestry code. Regards, Joakim On Fri, Oct 28, 2011 at 11:04 AM, Leon Derks wrote: > Hello > > Thank you all for your great support! > > I am using Tapestry 5.2.6. > > I just found out something what causes this issue. > > I use a breadcrumb component with a BreadCrumbDispatcher see > https://github.com/argoyle/tapestry-breadcrumbs > > When I don't use this breadcrumb mechanism, everything works fine. > > When I use this component, I get the error only after I have cleared my web > history (cache, cookie etc) and I guess also when my session has expired. > > Does somebody now understand what might be the cause and how I can fix this? > > regards, > Leon > > > On Oct 28, 2011, at 10:36 AM, Steve Eynon wrote: > >> On what version of T5 are you using and under what circumstances exactly? >> >> For on T5.2.6 I can't generate the error with PageLinks or EventLinks. >> >> Steve. >> >> >> >> On 28 October 2011 16:24, Christian Riedel wrote: >>> I see the same exception in log files for years now. Last thing I remember >>> is that it happened in T5.1 apps already. It's definitely something that >>> tapestry does not always ignore. >>> I'd say, Leon, you should create a JIRA for this! >>> >>> >>> Am 28.10.2011 um 04:49 schrieb Steve Eynon: >>> jsessionid's are unique id's created by the web-server (i.e. jetty or tomcat) when it first creates a session for a client. (In your case, after you login.) It is usually stored in a cookie but it is also equally valid to have them stored as part of refering URLs. (As you are seeing) Often this is only done for the first request / response cycle until your cookie is created. Anyhow, the jsessionid is nothing to do with T5, T5 just has to happily ignore it - which (after a quick check on my sites) it does for T5.1 and T5.3 so I'm not sure where your error is coming from. Steve. On 28 October 2011 04:43, Muhammad Gelbana wrote: > Please specify the exact scenario to reproduce this issue and state the > version you are using > > On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks > wrote: > >> >> Hello >> >> I see this error message a lot. Almost always after my first login >> attempt... >> >> What is causing this error? >> >> Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not >> valid; the character ';' at position 6 is not valid. >> >> regards, >> Leon >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > *Regards,* > *Muhammad Gelbana > Java Developer* > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Hello Thank you all for your great support! I am using Tapestry 5.2.6. I just found out something what causes this issue. I use a breadcrumb component with a BreadCrumbDispatcher see https://github.com/argoyle/tapestry-breadcrumbs When I don't use this breadcrumb mechanism, everything works fine. When I use this component, I get the error only after I have cleared my web history (cache, cookie etc) and I guess also when my session has expired. Does somebody now understand what might be the cause and how I can fix this? regards, Leon On Oct 28, 2011, at 10:36 AM, Steve Eynon wrote: > On what version of T5 are you using and under what circumstances exactly? > > For on T5.2.6 I can't generate the error with PageLinks or EventLinks. > > Steve. > > > > On 28 October 2011 16:24, Christian Riedel wrote: >> I see the same exception in log files for years now. Last thing I remember >> is that it happened in T5.1 apps already. It's definitely something that >> tapestry does not always ignore. >> I'd say, Leon, you should create a JIRA for this! >> >> >> Am 28.10.2011 um 04:49 schrieb Steve Eynon: >> >>> jsessionid's are unique id's created by the web-server (i.e. jetty or >>> tomcat) when it first creates a session for a client. (In your case, >>> after you login.) It is usually stored in a cookie but it is also >>> equally valid to have them stored as part of refering URLs. (As you >>> are seeing) Often this is only done for the first request / response >>> cycle until your cookie is created. >>> >>> Anyhow, the jsessionid is nothing to do with T5, T5 just has to >>> happily ignore it - which (after a quick check on my sites) it does >>> for T5.1 and T5.3 so I'm not sure where your error is coming from. >>> >>> Steve. >>> >>> >>> >>> On 28 October 2011 04:43, Muhammad Gelbana wrote: Please specify the exact scenario to reproduce this issue and state the version you are using On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks wrote: > > Hello > > I see this error message a lot. Almost always after my first login > attempt... > > What is causing this error? > > Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not > valid; the character ';' at position 6 is not valid. > > regards, > Leon > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- *Regards,* *Muhammad Gelbana Java Developer* >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org >
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
On what version of T5 are you using and under what circumstances exactly? For on T5.2.6 I can't generate the error with PageLinks or EventLinks. Steve. On 28 October 2011 16:24, Christian Riedel wrote: > I see the same exception in log files for years now. Last thing I remember is > that it happened in T5.1 apps already. It's definitely something that > tapestry does not always ignore. > I'd say, Leon, you should create a JIRA for this! > > > Am 28.10.2011 um 04:49 schrieb Steve Eynon: > >> jsessionid's are unique id's created by the web-server (i.e. jetty or >> tomcat) when it first creates a session for a client. (In your case, >> after you login.) It is usually stored in a cookie but it is also >> equally valid to have them stored as part of refering URLs. (As you >> are seeing) Often this is only done for the first request / response >> cycle until your cookie is created. >> >> Anyhow, the jsessionid is nothing to do with T5, T5 just has to >> happily ignore it - which (after a quick check on my sites) it does >> for T5.1 and T5.3 so I'm not sure where your error is coming from. >> >> Steve. >> >> >> >> On 28 October 2011 04:43, Muhammad Gelbana wrote: >>> Please specify the exact scenario to reproduce this issue and state the >>> version you are using >>> >>> On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks >>> wrote: >>> Hello I see this error message a lot. Almost always after my first login attempt... What is causing this error? Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid. regards, Leon - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> -- >>> *Regards,* >>> *Muhammad Gelbana >>> Java Developer* >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
I see the same exception in log files for years now. Last thing I remember is that it happened in T5.1 apps already. It's definitely something that tapestry does not always ignore. I'd say, Leon, you should create a JIRA for this! Am 28.10.2011 um 04:49 schrieb Steve Eynon: > jsessionid's are unique id's created by the web-server (i.e. jetty or > tomcat) when it first creates a session for a client. (In your case, > after you login.) It is usually stored in a cookie but it is also > equally valid to have them stored as part of refering URLs. (As you > are seeing) Often this is only done for the first request / response > cycle until your cookie is created. > > Anyhow, the jsessionid is nothing to do with T5, T5 just has to > happily ignore it - which (after a quick check on my sites) it does > for T5.1 and T5.3 so I'm not sure where your error is coming from. > > Steve. > > > > On 28 October 2011 04:43, Muhammad Gelbana wrote: >> Please specify the exact scenario to reproduce this issue and state the >> version you are using >> >> On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks >> wrote: >> >>> >>> Hello >>> >>> I see this error message a lot. Almost always after my first login >>> attempt... >>> >>> What is causing this error? >>> >>> Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not >>> valid; the character ';' at position 6 is not valid. >>> >>> regards, >>> Leon >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >> >> >> -- >> *Regards,* >> *Muhammad Gelbana >> Java Developer* >> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
jsessionid's are unique id's created by the web-server (i.e. jetty or tomcat) when it first creates a session for a client. (In your case, after you login.) It is usually stored in a cookie but it is also equally valid to have them stored as part of refering URLs. (As you are seeing) Often this is only done for the first request / response cycle until your cookie is created. Anyhow, the jsessionid is nothing to do with T5, T5 just has to happily ignore it - which (after a quick check on my sites) it does for T5.1 and T5.3 so I'm not sure where your error is coming from. Steve. On 28 October 2011 04:43, Muhammad Gelbana wrote: > Please specify the exact scenario to reproduce this issue and state the > version you are using > > On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks > wrote: > >> >> Hello >> >> I see this error message a lot. Almost always after my first login >> attempt... >> >> What is causing this error? >> >> Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not >> valid; the character ';' at position 6 is not valid. >> >> regards, >> Leon >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > *Regards,* > *Muhammad Gelbana > Java Developer* > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not valid; the character ';' at position 6 is not valid.
Please specify the exact scenario to reproduce this issue and state the version you are using On Thu, Oct 27, 2011 at 12:17 PM, Leon Derks wrote: > > Hello > > I see this error message a lot. Almost always after my first login > attempt... > > What is causing this error? > > Input string 'login;jsessionid=082793EE9A197CEB7F7750090DD0423D' is not > valid; the character ';' at position 6 is not valid. > > regards, > Leon > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- *Regards,* *Muhammad Gelbana Java Developer*