Closed (fixed)
Project:
Drupal core
Version:
4.7.2
Component:
base system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2006 at 09:47 UTC
Updated:
1 Sep 2008 at 14:36 UTC
Is there a reason to use urlencode instead of drupal's inner function drupal_urlencode?
Comments
Comment #1
Steven commentedNope, just an oversight. Fixed in CVS.
Comment #2
(not verified) commentedComment #3
fonant commentedI think this was changed in error, as the query string shouldn't need the double-encoding required in the main URL when clean URLs are on (to work around mod_rewrite's decoding).
I think drupal_urlencode should in fact not be used here, to avoid the double-encoding problems. Instead we should revert to urlencode(), or, perhaps better, rawurlencode() as used in drupal_urlencode().
Resulting issue?: http://drupal.org/node/285496
Comment #4
fonant commentedAnd other issues that are the result of this change?
http://drupal.org/node/178615 <- The main issue
http://drupal.org/node/221915