Last modified: 2013-09-04 11:25:28 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 T51305, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49305 - For git server, rewrite http urls to https
For git server, rewrite http urls to https
Status: NEW
Product: Wikimedia
Classification: Unclassified
SSL related (Other open bugs)
wmf-deployment
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 49827 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-07 12:36 UTC by billinghurst
Modified: 2013-09-04 11:25 UTC (History)
9 users (show)

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


Attachments

Description billinghurst 2013-06-07 12:36:24 UTC
http:// link that point to git, get a 404. Would it be worthwhile writing a rewrite in the apache config files that move the urls to https:// ?

Unthinkingly, and through habit, I made the mistake of making the link protocol neutral. I can see that it would be useful to help workaround for others making that mistake.
Comment 1 Chad H. 2013-06-07 13:09:08 UTC
Huh? Example?

http://git.wikimedia.org/ redirects to https://git.wikimedia.org/ for me.
Comment 2 billinghurst 2013-06-07 23:43:39 UTC
It was a deeper link
[//git.wikimedia.org/blob/mediawiki%2Fextensions%2FProofreadPage/e7233e3ba511bd859f16d36e84accb3342d858d9/ProofreadPage.body.php git]

so http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FProofreadPage/e7233e3ba511bd859f16d36e84accb3342d858d9/ProofreadPage.body.php
Comment 3 Chad H. 2013-06-07 23:46:03 UTC
Worksforme...
Comment 4 billinghurst 2013-06-08 00:04:23 UTC
Well, I get

<paste>

Not Found

The requested URL /blob/mediawiki/extensions/ProofreadPage/e7233e3ba511bd859f16d36e84accb3342d858d9/ProofreadPage.body.php was not found on this server.

</paste>

It was pointed out to me

<quote> (ps your link is 404 error) </quote>

 at https://en.wikisource.org/w/index.php?title=Wikisource:Requests_for_comment/Annotations_and_derivative_works&oldid=4467510

so it is not only me that has the issue.
Comment 5 Chad H. 2013-06-08 00:05:35 UTC
Hmm, those /'s in the repo name (or file path) should be encoded as %2F :\
Comment 8 Umherirrender 2013-06-19 18:30:51 UTC
*** Bug 49827 has been marked as a duplicate of this bug. ***
Comment 9 Seb35 2013-09-04 11:25:28 UTC
Is there still the problem with 404 errors?

I just tried the link on Wikisource (HTTP and HTTPS versions) with IE8/WinXP, Firefox 3.0.3/WinXP, Opera 10/WinXP, Opera 12.16/Ubuntu Lucid, Firefox 20/Ubuntu Lucid and I never experienced a 404 error (neither another error). What browsers did you have?

The Apache config of git.wikimedia.org didn’t really change since the beginning (see operations/puppet/templates/apache/sites/git.wikimedia.org).

I thought also about an encoding bug in MediaWiki; I tried with the MediaWiki version which was on Wikisource then (1.22/wmf5) but the HTML really gives slashes encoded as %2F and didn’t experienced the error (with Opera 12.16/Ubuntu Lucid).

I stop here the investigation about 404 error, unless there is still the problem. (the 404 error is a different bug than the bug title "rewrite http -> https".)

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


Navigation
Links