Re: parameter special characters are converting into junk characters.

Splash Forums PrettyFaces Users parameter special characters are converting into junk characters. Re: parameter special characters are converting into junk characters.

#23097

Your pattern looks very strange. PrettyFaces expects a plain path without a query string here. Therefore the pattern part is URL encoded when outgoing URLs are created.

Why don’t you use <query-param> instead?

<url-mapping id="flightPlusHotel">
<pattern value="/vacation-packages/search" />
<query-param name="trip"> #{someBean.trip} </query-param>
<query-param name="origin1"> #{someBean.origin1} </query-param>
<query-param name="destination1"> #{someBean.dest1} </query-param>
<!-- .... -->
<view-id value="/pages/package/flighthotel/flightPlusHotelResults.xhtml" />
</url-mapping>

See:

http://ocpsoft.org/docs/prettyfaces/3.3.3/en-US/html/Configuration.html#config.queryparams