xp-framework/xp-framework — pull request #155 by mihaighigea (2012-04-24 10:42:28+00:00)
Title: Fix encoding for AbstractHttpRequestAdapter::getQueryString()

Hi,

As title said, this fix the problem with decoded query string returned by `HttpScriptletRequest`.

This is the use-case:

````php
// Original query string
var_dump($_SERVER['QUERY_STRING']);
// product1=name%26name&product2=test%26test;

// Before fix
var_dump(AbstractHttpRequestAdapter::getQueryString());
// product1=name&name&product2=test&test

// After fix
var_dump(AbstractHttpRequestAdapter::getQueryString());
// product1=name%26name&product2=test%26test

````
For this reason, RestRoutingProcessor::execute() will fail when is trying to process the arguments.

Cheers,
Mihai