php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6782 urlencode() doesn't seem to encode anything
Submitted: 2000-09-16 23:43 UTC Modified: 2000-09-17 07:49 UTC
From: stu at saq dot cx Assigned:
Status: Closed Package: URL related
PHP Version: 4.0.1pl2 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: stu at saq dot cx
New email:
PHP Version: OS:

 

 [2000-09-16 23:43 UTC] stu at saq dot cx
hi..

when i echo urlencode($url) it doesn't encode anything, the output is the same as the contents of $url..

any ideas? i was expecting something like %65%66%67 etc..


thanks


stu

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-17 07:49 UTC] rasmus@php.net
I suggest reading the docs.  It only encodes non-alphanumeric characters.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 06:03:35 2021 UTC