diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-04-17 15:41:16 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-04-17 15:41:16 +0000 |
commit | 07155a084db111c0586ce7ed958c87eed6116704 (patch) | |
tree | e5e64cd58d20bdb2a0ad896403d8814f11018f52 /vendors/kses/docs/whitelisted-url-protocols | |
parent | 566de88eb3a15b58600f5195dc7b185b8aae0d41 (diff) | |
download | elgg-07155a084db111c0586ce7ed958c87eed6116704.tar.gz elgg-07155a084db111c0586ce7ed958c87eed6116704.tar.bz2 |
Closes #833: Kses now built as module
git-svn-id: https://code.elgg.org/elgg/trunk@3222 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'vendors/kses/docs/whitelisted-url-protocols')
-rw-r--r-- | vendors/kses/docs/whitelisted-url-protocols | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vendors/kses/docs/whitelisted-url-protocols b/vendors/kses/docs/whitelisted-url-protocols deleted file mode 100644 index a0032c4cc..000000000 --- a/vendors/kses/docs/whitelisted-url-protocols +++ /dev/null @@ -1,15 +0,0 @@ -kses whitelisted URL protocols -============================== - -From kses 0.2.0, it has a function that checks all attribute values for URL -protocols and only allows the protocols given in a whitelist. - -If you call kses the old way with two parameters - a string and an -$allowed_html array - it will take its own default array, which whitelists the -protocols http, https, ftp, news, nntp, telnet, gopher and mailto. Pretty -reasonable, but anyone who wants to change it just calls the kses() function -with a third parameter, like this: - -$string = kses($string, $allowed_html, array('http', 'https')); - -Note that you shouldn't include any colon after http or other protocol names. |