mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-28 11:41:52 +00:00
96d4a3ecf7
Due to historical reasons, the code is in subfolder "1". With SVN removal, we place the code back and remove the annoying "1" folder.
14 lines
549 B
Plaintext
14 lines
549 B
Plaintext
URI.DisableExternalResources
|
|
TYPE: bool
|
|
VERSION: 1.3.0
|
|
DEFAULT: false
|
|
--DESCRIPTION--
|
|
Disables the embedding of external resources, preventing users from
|
|
embedding things like images from other hosts. This prevents access
|
|
tracking (good for email viewers), bandwidth leeching, cross-site request
|
|
forging, goatse.cx posting, and other nasties, but also results in a loss
|
|
of end-user functionality (they can't directly post a pic they posted from
|
|
Flickr anymore). Use it if you don't have a robust user-content moderation
|
|
team.
|
|
--# vim: et sw=4 sts=4
|