On 8/22/12 5:30 PM, spotk wrote:
Hi list,
Today i was working on a code part that need to get
$_SERVER['QUERY_STRING'] exactly in the same parameters order as
provided by the client.
If we use Request::getQuerystring() method , the querystring is always
transformed by normalizeQueryString , the querystring is then reordered
( alphabetized )
As long as Request object is the defacto wrapper for all http request
manipulations, shouldn't it be better if we could retrieve this query
string reordered or not ?
Something like :
public function getQueryString($alphabetized = true )
then
public static function normalizeQueryString($qs, $alphabetized = true )
Those modifications would permit the rest of the usefull normalization
and leave parameters order untouched ?
What do you think about that ?
sounds good to me.
Thanks
Spotk
--
If you want to report a vulnerability issue on symfony, please send it
to security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en