Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
Bug in Webkit when redirecting with anchor/fragment
28 views
Skip to first unread message
sain...@gmail.com
unread,
Sep 2, 2014, 8:57:01 AM
9/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hello,
I would like a workaround for this 5.5 year old Webkit bug which remove the anchor when redirecting:
https://bugs.webkit.org/show_bug.cgi?id=24175
https://code.djangoproject.com/ticket/9967
Using language prefix in the URL (
https://docs.djangoproject.com/en/dev/topics/i18n/translation/#language-prefix-in-url-patterns
), I cannot provide an language-independent URL with an anchor (
example.com/index#description
) because Safari will redirect to just
example.com/en/index
.
It may also cause problem with redirection from
www.example.com
to
example.com
or, or
http://example.com
to
https://example.com
.
Does someone know a good workaround with Django ?
I can always use parameters with
example.com/index?ref=description
but it seems really not elegant.
Thanks !
Reply all
Reply to author
Forward
0 new messages