You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Verma Sanjeev <Sa...@aegislimited.com> on 2008/01/09 20:32:29 UTC
Workaround for colon characters in the links
I am trying to integrate Wicket with an old application server (ATG)
which does support servlet spec 2.3
This server cannot handle colon (":") character in the query string and
it expects it to be URL encoded, otherwise it gives 404 error.
Is there any workaround in Wicket for this?
* Encoding ":" character etc
I contacted tech support for ATG and they said URL should be encoded.
******* REPLY for ATG DYNAMO SUPPORT ****
> However if there is ":" character in the query
> string Dynamo gives 404 page not found error.
Section 3.2.1 of RFC 1945 and section 2.2 of RFC 1738
indicate that the colon character is a reserved
character. I take this to mean that the colon should
be URL encoded when it is not in use for its reserved
Thanks for the help.
******************************
This e-mail, including attachments, contains information that is confidential and may be protected by the attorney/client or other privileges. This e-mail, including attachments, constitutes non-public information intended to be conveyed only to the designated recipient(s). If you are not an intended recipient, please delete this e-mail, including attachments, and notify me. The unauthorized use, dissemination, distribution or reproduction of this e-mail, including attachments, is prohibited and may be unlawful.
******************************
Re: Workaround for colon characters in the links
Posted by Martijn Lindhout <ml...@jointeffort.nl>.
and check the 'niceurl' example in wicket-examples
2008/1/9, Martijn Lindhout <ml...@jointeffort.nl>:
>
> I'm not 100% sure, but have a look at the package
>
> org.apache.wicket.protocol.http.request.urlcompressing I checked the
> 1.3.0 docs.
>
> 2008/1/9, Verma Sanjeev <Sa...@aegislimited.com>:
> >
> > I am trying to integrate Wicket with an old application server (ATG)
> > which does support servlet spec 2.3
> >
> >
> >
> > This server cannot handle colon (":") character in the query string and
> > it expects it to be URL encoded, otherwise it gives 404 error.
> >
> > Is there any workaround in Wicket for this?
> >
> > * Encoding ":" character etc
> >
> >
> >
> > I contacted tech support for ATG and they said URL should be encoded.
> >
> >
> >
> > ******* REPLY for ATG DYNAMO SUPPORT ****
> >
> > > However if there is ":" character in the query
> > > string Dynamo gives 404 page not found error.
> >
> > Section 3.2.1 of RFC 1945 and section 2.2 of RFC 1738
> > indicate that the colon character is a reserved
> > character. I take this to mean that the colon should
> > be URL encoded when it is not in use for its reserved
> >
> >
> >
> >
> >
> > Thanks for the help.
> >
> >
> >
> >
> >
> >
> > ******************************
> > This e-mail, including attachments, contains information that is
> > confidential and may be protected by the attorney/client or other
> > privileges. This e-mail, including attachments, constitutes non-public
> > information intended to be conveyed only to the designated recipient(s). If
> > you are not an intended recipient, please delete this e-mail, including
> > attachments, and notify me. The unauthorized use, dissemination,
> > distribution or reproduction of this e-mail, including attachments, is
> > prohibited and may be unlawful.
> >
> > ******************************
> >
> >
>
>
> --
> Martijn Lindhout
> JointEffort IT Services
> http://www.jointeffort.nl
> mlindhout@jointeffort.nl
> +31 (0)6 18 47 25 29
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
mlindhout@jointeffort.nl
+31 (0)6 18 47 25 29
RE: Workaround for colon characters in the links
Posted by Verma Sanjeev <Sa...@aegislimited.com>.
Thanks martijn for pointing me in the right direction.
I tried CryptedUrlWebRequestCodingStrategy and it worked.
************
protected IRequestCycleProcessor newRequestCycleProcessor()
{
return new WebRequestCycleProcessor()
{
protected IRequestCodingStrategy
newRequestCodingStrategy()
{
return new
CryptedUrlWebRequestCodingStrategy(new WebRequestCodingStrategy());
}
};
}
-----Original Message-----
From: martijn.lindhout@gmail.com [mailto:martijn.lindhout@gmail.com] On
Behalf Of Martijn Lindhout
Sent: Wednesday, January 09, 2008 2:46 PM
To: users@wicket.apache.org
Subject: Re: Workaround for colon characters in the links
I'm not 100% sure, but have a look at the package
org.apache.wicket.protocol.http.request.urlcompressing I checked the
1.3.0docs.
2008/1/9, Verma Sanjeev <Sa...@aegislimited.com>:
>
> I am trying to integrate Wicket with an old application server (ATG)
> which does support servlet spec 2.3
>
>
>
> This server cannot handle colon (":") character in the query string
and
> it expects it to be URL encoded, otherwise it gives 404 error.
>
> Is there any workaround in Wicket for this?
>
> * Encoding ":" character etc
>
>
>
> I contacted tech support for ATG and they said URL should be encoded.
>
>
>
> ******* REPLY for ATG DYNAMO SUPPORT ****
>
> > However if there is ":" character in the query
> > string Dynamo gives 404 page not found error.
>
> Section 3.2.1 of RFC 1945 and section 2.2 of RFC 1738
> indicate that the colon character is a reserved
> character. I take this to mean that the colon should
> be URL encoded when it is not in use for its reserved
>
>
>
>
>
> Thanks for the help.
>
>
>
>
>
>
> ******************************
> This e-mail, including attachments, contains information that is
> confidential and may be protected by the attorney/client or other
> privileges. This e-mail, including attachments, constitutes non-public
> information intended to be conveyed only to the designated
recipient(s). If
> you are not an intended recipient, please delete this e-mail,
including
> attachments, and notify me. The unauthorized use, dissemination,
> distribution or reproduction of this e-mail, including attachments, is
> prohibited and may be unlawful.
>
> ******************************
>
>
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
mlindhout@jointeffort.nl
+31 (0)6 18 47 25 29
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Workaround for colon characters in the links
Posted by Martijn Lindhout <ml...@jointeffort.nl>.
I'm not 100% sure, but have a look at the package
org.apache.wicket.protocol.http.request.urlcompressing I checked the 1.3.0docs.
2008/1/9, Verma Sanjeev <Sa...@aegislimited.com>:
>
> I am trying to integrate Wicket with an old application server (ATG)
> which does support servlet spec 2.3
>
>
>
> This server cannot handle colon (":") character in the query string and
> it expects it to be URL encoded, otherwise it gives 404 error.
>
> Is there any workaround in Wicket for this?
>
> * Encoding ":" character etc
>
>
>
> I contacted tech support for ATG and they said URL should be encoded.
>
>
>
> ******* REPLY for ATG DYNAMO SUPPORT ****
>
> > However if there is ":" character in the query
> > string Dynamo gives 404 page not found error.
>
> Section 3.2.1 of RFC 1945 and section 2.2 of RFC 1738
> indicate that the colon character is a reserved
> character. I take this to mean that the colon should
> be URL encoded when it is not in use for its reserved
>
>
>
>
>
> Thanks for the help.
>
>
>
>
>
>
> ******************************
> This e-mail, including attachments, contains information that is
> confidential and may be protected by the attorney/client or other
> privileges. This e-mail, including attachments, constitutes non-public
> information intended to be conveyed only to the designated recipient(s). If
> you are not an intended recipient, please delete this e-mail, including
> attachments, and notify me. The unauthorized use, dissemination,
> distribution or reproduction of this e-mail, including attachments, is
> prohibited and may be unlawful.
>
> ******************************
>
>
--
Martijn Lindhout
JointEffort IT Services
http://www.jointeffort.nl
mlindhout@jointeffort.nl
+31 (0)6 18 47 25 29