Last modified: 2010-05-15 15:56:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6020 - Upload directory can trigger false positive on ad blockers
Upload directory can trigger false positive on ad blockers
Status: RESOLVED DUPLICATE of bug 5402
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.6.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-19 11:33 UTC by Phlip
Modified: 2010-05-15 15:56 UTC (History)
0 users

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


Attachments

Description Phlip 2006-05-19 11:33:09 UTC
The current upload code will occasionally decide to upload a file to
$wgUploadPath/a/ad/filename.png - the "/ad/" in that path will trigger some
simple advertising blockers, leaving some users unable to see the image (or even
Media: links to it). This could rather easily be fixed by testing if the path
chosen is /a/ad/ and returning another path instead, perhaps just /a/d/ or
something similar... though it would have to be changed in several places, I see
it 4 times in Image.php alone...

Admittedly, fixing this would break most existing MediaWiki installations, as
all the images in the /a/ad/ dir will have to be moved (probably by hand) to
wherever the fixed upload code says they should belong... I suppose it's one for
the powers that be to decide if it should be fixed.
Comment 1 Niklas Laxström 2006-05-19 11:37:34 UTC

*** This bug has been marked as a duplicate of 5402 ***
Comment 2 Phlip 2006-05-19 11:38:59 UTC
Yeah, OK, sorry, it's a hard bug to search for... ;)

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


Navigation
Links