Last modified: 2013-09-19 14:48:01 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 T56306, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54306 - img tag attribute src should be managable/restricted
img tag attribute src should be managable/restricted
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 54144
  Show dependency treegraph
 
Reported: 2013-09-19 02:29 UTC by John Mark Vandenberg
Modified: 2013-09-19 14:48 UTC (History)
1 user (show)

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


Attachments

Description John Mark Vandenberg 2013-09-19 02:29:40 UTC
When $wgAllowImageTag is enabled, sysadmins and sysops should be able to manage what values for 'src' are permitted.

It believe $wgAllowImageTag should respect $wgAllowExternalImagesFrom & $wgEnableImageWhitelist.

IMO it should also respect $wgAllowImageTag .  However if $wgAllowImageTag also used $wgAllowExternalImages , there is a small semantic change to the variable $wgAllowImageTag . e.g. a wiki might want <img src="..."> but does not want raw image links in the wikitext to be rendered as inline images.

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


Navigation
Links