#011277: Dots in URL query parameter names are converted to underscores

Description:

This behaviour comes from the PHP function parse_str(). The Url component should preserve the dots.

Reproducing code:


$url = new ezcUrl( 'http://www.example.com/mydir?openid.nonce=123456' );
var_dump( $url->getQuery() );
echo $url->buildUrl();

This will output:


array(1) {
  ["openid_nonce"]=>
  string(6) "123456"
}
http://www.example.com/mydir?openid_nonce=123456


Environment:

Operating System:
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):


Steps to Reproduce:

See above for reproducing code.


- Attachments

No attachments for this issue.


- Comments

Implemented in rev. 5939 (trunk). It will be available in Url 1.2alpha1.

#253363 by Alexandru Stanoi on August 20th, 2007 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Component Components » Url
Affects 1.1 - Url 1.1
Fix Versions 2007.2alpha1 - eZ components 2007.2alpha1
1.2alpha1 - Url 1.2alpha1
Reporter Alexandru Stanoi
Responsible Alexandru Stanoi
Status 0 Closed
Resolution Fixed
Created August 16th, 2007
Updated August 20th, 2007
Resolved August 20th, 2007
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #015537
  Graph shows to small and truncated rotated axis labels