Incorrect encoding for parameters in nice urls from stripes:link

Description

changed the way parameters for nice urls placed in the path are encoded.

This now leads to wrong values being passed to the action bean when the links are created with stripes:link.

stripes:link uses UrlBuilder to encode parameters placed into the Uri, but uses StringUtil.encode . This causes a blank to be encoded as '+'. The decoding for the action bean does not consider + to be an encoded character and does not decode it.

UrlBuilder needs to use StringUtil.uriFragmentEncode for parameters used to construct the URI.

Environment

None

Status

Assignee

Unassigned

Reporter

Florian Bruckner

Labels

None

Tester

None

Components

Affects versions

Release 1.6

Priority

Minor
Configure