Opened 7 years ago

Closed 6 years ago

#4802 closed defect (fixed)

Wikipedia Link with Anchor - uselang parameter placed incorrect

Reported by: _al Owned by: rails-dev@…
Priority: minor Milestone:
Component: website Version:
Keywords: Cc:


Example: Wikipedia link of node 191972319.

If the link references an anchor and the uselang parameter is added at the end, this makes the anchor reference disfunctional, like

The uselang parameter should be added before the anchor, like


Attachments (1)

commit-5377db8 (3.2 KB) - added by Kalten666 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Kalten666

Attachment: commit-5377db8 added

comment:2 Changed 7 years ago by Kalten666

A fix: only slightly adapted by myself, following the example of Arup Rakshit on in his answer to the question “Ruby, How to add a param to an URL that you don't know if it has any other param already”.

git-patch: see attached file commit-5377db8

I did test the mechanism, but I did not test it in the system of the webserver! Pray do this for me prior to committing that patch!

ru, Kalten666

comment:3 Changed 6 years ago by Tom Hughes

Resolution: fixed
Status: newclosed

Fixed by 1873478/rails.

Note: See TracTickets for help on using tickets.