php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #26886 imported GET variables replace spaces with underlines
Submitted: 2004-01-12 13:48 UTC Modified: 2004-01-13 04:00 UTC
From: fgasper at freeshell dot org Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 4.3.4 OS: FreeBSD
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fgasper at freeshell dot org
New email:
PHP Version: OS:

 

 [2004-01-12 13:48 UTC] fgasper at freeshell dot org
Description:
------------
Submitting a variable named "Document Name" via GET
causes the variable to show up in the $_REQUEST array as "Document_Name". This seems to me like it should only be done in the case of import_request_variables or some such, not at the global level.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-12 17:44 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

This is expected behavior. 
 [2004-01-12 17:50 UTC] fgasper at freeshell dot org
Hmm - I'll change it to a feature request, then? If the variable name *needs* to change, as in the case of import_request_variables, then I can see the prudence of the current behavior, but in general I still think leaving the variable name unchanged by default is a better idea than doing the underline substitution automatically.
 [2004-01-13 04:00 UTC] derick@php.net
This was discussed before and is not going to happen.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 23:01:27 2024 UTC