Last modified: 2010-05-15 15:56:50 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 T8020, the corresponding Phabricator task for complete and up-to-date bug report information.
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