php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21507 GET data containing # is ignored
Submitted: 2003-01-07 23:44 UTC Modified: 2003-01-08 00:53 UTC
From: dave at calistra dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.2.3 OS: Linux / Apache
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: dave at calistra dot com
New email:
PHP Version: OS:

 

 [2003-01-07 23:44 UTC] dave at calistra dot com
I had a page where I was passing colour info to a script using the standard html numeric scheme - e.g.
pulldown.php?out=#c0c0ff&over=#2020ff&item=#ffffff

but the params were not received by the receiving script
if the hash sign was used.

I do not know if this is a PHP issue or an apache one but what I assume is happening is that something thinks that a reference is being made to an internal anchor.

perhaps urlencoding culd have helped - and I had a workaround so this is not really high priority - 

Dave.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-08 00:53 UTC] derick@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

You need to use urlencode here, for security reasons we strip the # if I recall correctly.

Derick
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 08:01:29 2025 UTC