Re: PHP 4.0 Bug #6685 Updated: %20 mis-converted in GET mechanism
| From: | André Langhorst | Date: | Wed, 22 Nov 2000 15:37:36 +0000 |
| Subject: | Re: PHP 4.0 Bug #6685 Updated: %20 mis-converted in GET mechanism | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-38924@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
JT>> >This is not a question of it being useful or not. This is a question if JT>> >mangling variable names is right or not. I see this mangling to serve no JT>> >practical purpose and be generally wrong. And I'm sure _if_ you made JT>> >variable with spaces in it, you meant it - it cannot happen by accident. JT>> JT>> You mean converting xxx.php?++xxx++yy++=value -> $xxx__yy__ is wrong? JT>> And should be $__xxx__yy__ ?? Or what? yes, I mean it should be ${" xxx yy "}="value". Or at least strip justthis makes most sense
leading spaces. Whoever did that knew what he meant. Or at least we should document that in big friendly letters, though I think there's no need to convert it at all.you don't hinder me doing ${' asdf asdlkfj'}=5; so why should you strip leading spaces? andré -- · André Langhorst · t: +49 571 3201801 · · waldschrott@php.net · m: +49 173 9558736 · · PHP Quality Assurance · http://qa.php.net ·