Hello everyone,
PHP 5.4.13 (as module), Apache 2.4.4, Drupal 7.22, Link 7.x-1.1.
On a fresh install using the above configuration (that is, no extra modules) a perfectly valid URL like:
http://www.google.com/search?q=arguments&q=url&list&q=php&q=link&q=module
... will get truncated to the last value of the "q" argument. Apparently, the practice of using same argument name with multiple values is acceptable (Google will accept it); Java for example will create an array named "q" with each value as an element. Since I'm forced to insert links towards a Java app I was wondering if there's any chance that you'll replace "parse_str" in _link_parse_url() with something else?
Comment | File | Size | Author |
---|---|---|---|
#1 | link-1983174-Truncated_values_for_same_arg_multiple_values.patch | 988 bytes | john.oltman |
Comments
Comment #1
john.oltman CreditAttribution: john.oltman commentedSee attached patch that adds support for multiple arguments with the same name.
Comment #2
john.oltman CreditAttribution: john.oltman commented