Closed (fixed)
Project:
Drupal core
Version:
4.7.4
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2006 at 15:14 UTC
Updated:
28 Nov 2006 at 10:45 UTC
Jump to comment: Most recent file
Comments
Comment #1
Arto commentedHmm... I believe passing the anchor to
drupal_urlencode()is intentional and desirable, since the anchor #comment_form doesn't apply to the login page, but rather to the post-login redirect as specified by the destination= parameter.This means the bug is either in
drupal_urlencode()or the post-login redirection code.Comment #2
Arto commentedNote related issue #88050.
Comment #3
andeeeb commentedI ran into the same problem. I fixed it by adding urldecode to drupal_goto.
Comment #4
pwolanin commentedThis bug is present in 4.7 an dHEAD and currently manifests on drupal.org itself.
Marking as critical, since it's obviously going to leave a very bad impression on any new user who gets a "page not found" when first registering or logging in.
Comment #5
flk commentedThis problem only occurs when site is using clean urls, drupal_urlencode prepends %25 to #(%23) and &(%26) when clean urls is true...
Rerolled patch against head and have tested the patch from #3 and it does solve the problem. since the values of destination are sent to drupal_goto, i think it is fine to have urldecode there (cant see anwhere else of putting it :( )....
another way of going about this is to not urlencode the destination values when clean url is on. (doesnt sound like a good to me.)
Comment #6
flk commentedComment #7
drummCommitted to HEAD.
Comment #8
beginner commentedComment #9
Zen commentedbackport.
@andeeeb: Please create patches against the base Drupal directory; i.e. your patch should be a diff for includes/common.inc rather than drupal/includes/common.inc.
-K
Comment #10
killes@www.drop.org commentedapplied
Comment #11
(not verified) commented