Re: [Wicket-user] NiceURL and parameters with 'sensitive' characters

2006-11-10 Thread jan_bar
It worked well until I pass parametr with %2F ('/') . The problem is that
HttpServletRequest.getPathInfo() returns the URL that is already decoded
(checked with Jetty 6 and Tomcat 5.5). For nice URLs the getRequestURI() or
getRequestURL() should be used, it seems to return the request as it was
passed to server.

https://issues.apache.org/jira/browse/WICKET-40

Jan

Eelco Hillenius [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Can you confirm that fixes your problem and doesn't introduce new
 ones? And could you please open a bug report for this
 (http://issues.apache.org/jira/browse/WICKET, also so that it ends up
 in our change list).

 Cheers,

 Eelco


 On 11/9/06, jan_bar [EMAIL PROTECTED] wrote:
  The URL is already URL decoded when it reaches servlet.doXXX(), so
  AbstractRequestTargetUrlCodingStrategy.decodeParameters() should not
call
  URLDecode again.
 
  Jan
 
  jan_bar [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
   Hi,
  
   I use nice URL with a parameter that contains a '+' character. The '+'
is
   URLDecoded to space (' ') in
   AbstractRequestTargetUrlCodingStrategy.decodeParameters(), this is
fine.
  So
   I URLEncoded the parametr, so my nice URL looks like
   http://localhost/doSomething/someId/1%2b1 , but this URL is URLDecoded
by
   servlet, so Wicket again sees it as someId/1+1, so the result is
someId=1
   1.
   How can I pass the '+' as parameter?
  
   Thanks, Jan
  
  
  
  
 
 -
   Using Tomcat but need to do more? Need to support web services,
security?
   Get stuff done quickly with pre-integrated technology to make your job
  easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
  
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
 
 

 -
  Using Tomcat but need to do more? Need to support web services,
security?
  Get stuff done quickly with pre-integrated technology to make your job
easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] NiceURL and parameters with 'sensitive' characters

2006-11-09 Thread jan_bar
Hi,

I use nice URL with a parameter that contains a '+' character. The '+' is
URLDecoded to space (' ') in
AbstractRequestTargetUrlCodingStrategy.decodeParameters(), this is fine. So
I URLEncoded the parametr, so my nice URL looks like
http://localhost/doSomething/someId/1%2b1 , but this URL is URLDecoded by
servlet, so Wicket again sees it as someId/1+1, so the result is someId=1
1.
How can I pass the '+' as parameter?

Thanks, Jan




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] NiceURL and parameters with 'sensitive' characters

2006-11-09 Thread Erik van Oosten
Did you try %2b ?

Erik.

jan_bar schreef:
 Hi,

 I use nice URL with a parameter that contains a '+' character. The '+' is
 URLDecoded to space (' ') in
 AbstractRequestTargetUrlCodingStrategy.decodeParameters(), this is fine. So
 I URLEncoded the parametr, so my nice URL looks like
 http://localhost/doSomething/someId/1%2b1 , but this URL is URLDecoded by
 servlet, so Wicket again sees it as someId/1+1, so the result is someId=1
 1.
 How can I pass the '+' as parameter?

 Thanks, Jan

   
-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] NiceURL and parameters with 'sensitive' characters

2006-11-09 Thread jan_bar
Sure, have a look at the url in my original post :-)

Jan

Erik van Oosten [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Did you try %2b ?

 Erik.

 jan_bar schreef:
  Hi,
 
  I use nice URL with a parameter that contains a '+' character. The '+'
is
  URLDecoded to space (' ') in
  AbstractRequestTargetUrlCodingStrategy.decodeParameters(), this is fine.
So
  I URLEncoded the parametr, so my nice URL looks like
  http://localhost/doSomething/someId/1%2b1 , but this URL is URLDecoded
by
  servlet, so Wicket again sees it as someId/1+1, so the result is
someId=1
  1.
  How can I pass the '+' as parameter?
 
  Thanks, Jan
 
 
 -- 
 Erik van Oosten
 http://www.day-to-day-stuff.blogspot.com/


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] NiceURL and parameters with 'sensitive' characters

2006-11-09 Thread jan_bar
The URL is already URL decoded when it reaches servlet.doXXX(), so
AbstractRequestTargetUrlCodingStrategy.decodeParameters() should not call
URLDecode again.

Jan

jan_bar [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 I use nice URL with a parameter that contains a '+' character. The '+' is
 URLDecoded to space (' ') in
 AbstractRequestTargetUrlCodingStrategy.decodeParameters(), this is fine.
So
 I URLEncoded the parametr, so my nice URL looks like
 http://localhost/doSomething/someId/1%2b1 , but this URL is URLDecoded by
 servlet, so Wicket again sees it as someId/1+1, so the result is someId=1
 1.
 How can I pass the '+' as parameter?

 Thanks, Jan




 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] NiceURL and parameters with 'sensitive' characters

2006-11-09 Thread Erik van Oosten
Ah. Sorry.

 Erik.

jan_bar schreef:
 Sure, have a look at the url in my original post :-)

 Jan

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] NiceURL and parameters with 'sensitive' characters

2006-11-09 Thread Eelco Hillenius
Can you confirm that fixes your problem and doesn't introduce new
ones? And could you please open a bug report for this
(http://issues.apache.org/jira/browse/WICKET, also so that it ends up
in our change list).

Cheers,

Eelco


On 11/9/06, jan_bar [EMAIL PROTECTED] wrote:
 The URL is already URL decoded when it reaches servlet.doXXX(), so
 AbstractRequestTargetUrlCodingStrategy.decodeParameters() should not call
 URLDecode again.

 Jan

 jan_bar [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Hi,
 
  I use nice URL with a parameter that contains a '+' character. The '+' is
  URLDecoded to space (' ') in
  AbstractRequestTargetUrlCodingStrategy.decodeParameters(), this is fine.
 So
  I URLEncoded the parametr, so my nice URL looks like
  http://localhost/doSomething/someId/1%2b1 , but this URL is URLDecoded by
  servlet, so Wicket again sees it as someId/1+1, so the result is someId=1
  1.
  How can I pass the '+' as parameter?
 
  Thanks, Jan
 
 
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642




 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user