Last modified: 2012-06-20 08:13:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38411, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36411 - bugzilla Apache rewrite rule omit URL fragment
bugzilla Apache rewrite rule omit URL fragment
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-02 08:46 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-06-20 08:13 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2012-05-02 08:46:42 UTC
Bugzilla let us forge a "short" URL by appending the bug number as a root path. As an example:

https://bugzilla.wikimedia.org/36361

Sometime we would want to reference a comment, but the redirect eats the fragment :(

https://bugzilla.wikimedia.org/36361#c6

Is redirected to:

https://bugzilla.wikimedia.org/show_bug.cgi?id=36361
Comment 1 Mark A. Hershberger 2012-05-04 13:24:07 UTC
What browser are you using? WFM on Ubuntu; Linux x86_64; Firefox/13.0
Comment 2 Antoine "hashar" Musso (WMF) 2012-06-17 19:56:16 UTC
That is an issue on the server side:

$ curl -I 'https://bugzilla.wikimedia.org/36361#c6'
HTTP/1.1 302 Found
Date: Sun, 17 Jun 2012 19:55:59 GMT
Server: Apache
Location: https://bugzilla.wikimedia.org/show_bug.cgi?id=36361
Vary: Accept-Encoding
Content-Type: text/html; charset=iso-8859-1
Comment 3 Alex Monk 2012-06-17 20:03:28 UTC
No, it's not. Definitely client. The anchor tag is never sent as part of the HTTP request by any browser, it is only interpreted locally within the browser.

I'm not sure if a browser is supposed to carry over the anchor part of the URL when redirected. If it is then this is an upstream bug with the browser. WFM in Chrome 19 and Firefox 13, marking this bug as such.
Comment 4 Antoine "hashar" Musso (WMF) 2012-06-18 12:43:55 UTC
Indeed I have opened to Apple the radar issue #11687876 (not public)
Comment 5 Antoine "hashar" Musso (WMF) 2012-06-20 08:13:36 UTC
My bug report has been marked as a duplicate of radar issue #3225447

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links