Hi Eric,

I would suspect your browser, rather than MarkLogic Server. Note that MarkLogic 
Server decodes request parameters automatically, so even if it get's encoded, 
once you retrieve it with xdmp:request-get-field('x'), it will already be 
decoded, so you would not even notice this within your Xquery script..

Kind regards,
Geert

>


Drs. G.P.H. Josten
Consultant


http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.


> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Eric Palmitesta
> Sent: donderdag 19 februari 2009 20:08
> To: ML Developer Mailing List
> Subject: [MarkLogic Dev General] characters transformed into
> URL code in browser address bar
>
> Upon submission of the form...
>
> <form action="test.xqy" method="get">
>    <input type="hidden" name="x" value="one:two" />
>    <input type="submit" value="Submit" /> </form>
>
> ...the url in the browser address bar becomes...
>
> http://host.com:8008/test.xqy?x=one%3Atwo
>
> If I type http://host.com:8008/test.xqy?x=one:two directly
> into the address bar, everything works as expected.  What
> part of MarkLogic is causing this transformation into URL
> code (http://www.dualunit.ch/en/tools/cp1252-characters/),
> and can it be avoided?
>
> (It's ugly.  I'll admit I'm just being vain, though.)
>
> Cheers!
>
> Eric
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
>

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to