Hi,
Had anyone had difficult passing hashtag (#) into the request parameters as url param e.g myValue#1234 the value stored into the context are myValue In which the character starting and after hastag are all being removed. -- Disclaimer : This E-mail is intended only for the use of the individual or entity named above and may contain information that is confidential. If you are not the intended recipients, please immediately notify us by return email and delete it from your system. Any unauthorised dissemination, distribution or copying of this email is strictly prohibited. Thank You. |
Have you tried URL encoding?
Adrian Crum Sandglass Software www.sandglass-software.com On 4/22/2014 9:09 PM, Jen Sing Choe wrote: > Hi, > Had anyone had difficult passing hashtag (#) into the request parameters as > url param > > e.g > myValue#1234 > > the value stored into the context are myValue > In which the character starting and after hastag are all being removed. > |
Hi,
I had tried as below encode-output="true" StringUtil.wrapString i print out the context map. The value in the context map (requestParameters,parameters) of that particular property key, is already hashtag removed. Below are the scenario, 1. create product with productId= ##123## when click on the EditProduct catalog/control/EditProduct?productId=##123## the system cannot find the product in the browser URL fields, the value are showing the correct value with hashtag I had goes trough the below java class, but none are able to explain the cause of the hashtag ModelFormField.java StringUtil.java UtilHttp.java Am i missing anything? On Wed, Apr 23, 2014 at 1:52 PM, Adrian Crum < [hidden email]> wrote: > Have you tried URL encoding? > > Adrian Crum > Sandglass Software > www.sandglass-software.com > > > On 4/22/2014 9:09 PM, Jen Sing Choe wrote: > >> Hi, >> Had anyone had difficult passing hashtag (#) into the request parameters >> as >> url param >> >> e.g >> myValue#1234 >> >> the value stored into the context are myValue >> In which the character starting and after hastag are all being removed. >> >> -- Disclaimer : This E-mail is intended only for the use of the individual or entity named above and may contain information that is confidential. If you are not the intended recipients, please immediately notify us by return email and delete it from your system. Any unauthorised dissemination, distribution or copying of this email is strictly prohibited. Thank You. |
hello,
the hash tag is used in url to point to specific part of a page(bookmark or anchor). so i think it can not be receivied server side but stripped out from the url by the navigator (to be confirmed). hope this help. Youssef khaye. Le 23/04/2014 12:43, Jen Sing Choe a écrit : > Hi, > I had tried as below > > encode-output="true" > StringUtil.wrapString > > i print out the context map. > The value in the context map (requestParameters,parameters) of that > particular property key, is already hashtag removed. > > Below are the scenario, > 1. create product with productId= ##123## > > when click on the EditProduct > catalog/control/EditProduct?productId=##123## > the system cannot find the product > in the browser URL fields, the value are showing the correct value with > hashtag > > I had goes trough the below java class, but none are able to explain the > cause of the hashtag > ModelFormField.java > StringUtil.java > UtilHttp.java > > Am i missing anything? > > > > On Wed, Apr 23, 2014 at 1:52 PM, Adrian Crum < > [hidden email]> wrote: > >> Have you tried URL encoding? >> >> Adrian Crum >> Sandglass Software >> www.sandglass-software.com >> >> >> On 4/22/2014 9:09 PM, Jen Sing Choe wrote: >> >>> Hi, >>> Had anyone had difficult passing hashtag (#) into the request parameters >>> as >>> url param >>> >>> e.g >>> myValue#1234 >>> >>> the value stored into the context are myValue >>> In which the character starting and after hastag are all being removed. >>> >>> |
In reply to this post by Adrian Crum-3
—
Sent from Mailbox for iPad On Wed, Apr 23, 2014 at 1:53 PM, Adrian Crum <[hidden email]> wrote: > Have you tried URL encoding? > Adrian Crum > Sandglass Software > www.sandglass-software.com > On 4/22/2014 9:09 PM, Jen Sing Choe wrote: >> Hi, >> Had anyone had difficult passing hashtag (#) into the request parameters as >> url param >> >> e.g >> myValue#1234 >> >> the value stored into the context are myValue >> In which the character starting and after hastag are all being removed. >> |
Free forum by Nabble | Edit this page |