Closed (fixed)
Project:
Drupal core
Version:
6.2
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 May 2008 at 04:39 UTC
Updated:
8 May 2008 at 07:45 UTC
Hi,
I'm in the process of writing a module and I cam across this odd bug, when I pass my a URL as a string through drupal_urlencode() it is converting the 'http://' part into 'http%3A/%252F' instead of 'http%3A%2F%2F'.
When decode, it returns 'http:/%2F' instead of 'http://' which creates a big problem for my module.
Maybe it's something to do with my module/environment as I would have thought that a bug such as this would cause big problems globally.
Any help would be appreciated.
Comments
Comment #1
chx commentedComment #2
deciphered