aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textformatter/s9e/factory.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-04-28 02:53:40 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-04-28 02:53:40 +0200
commit3f54fd49b5bf421852ceb2a54395d5ed353d2f29 (patch)
treed8624715bf7401e39d3189df5ed4a83ebdbf832e /phpBB/phpbb/textformatter/s9e/factory.php
parent102b6c2df377759de8b17f3fe6fa7366fb7385dd (diff)
downloadforums-3f54fd49b5bf421852ceb2a54395d5ed353d2f29.tar
forums-3f54fd49b5bf421852ceb2a54395d5ed353d2f29.tar.gz
forums-3f54fd49b5bf421852ceb2a54395d5ed353d2f29.tar.bz2
forums-3f54fd49b5bf421852ceb2a54395d5ed353d2f29.tar.xz
forums-3f54fd49b5bf421852ceb2a54395d5ed353d2f29.zip
[ticket/10922] Replaced urlencode() with rawurlencode()
RFC-6068 asks for percent-encoding so that seems more correct. Not sure about that one. PHPBB3-10922
Diffstat (limited to 'phpBB/phpbb/textformatter/s9e/factory.php')
-rw-r--r--phpBB/phpbb/textformatter/s9e/factory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php
index a1bd43e40e..e07a1b52ca 100644
--- a/phpBB/phpbb/textformatter/s9e/factory.php
+++ b/phpBB/phpbb/textformatter/s9e/factory.php
@@ -68,7 +68,7 @@ class factory implements \phpbb\textformatter\cache_interface
'b' => '[B]{TEXT}[/B]',
'code' => '[CODE]{TEXT}[/CODE]',
'color' => '[COLOR={COLOR}]{TEXT}[/COLOR]',
- 'email' => '[EMAIL={EMAIL;useContent} subject={TEXT;optional;postFilter=urlencode} body={TEXT;optional;postFilter=urlencode}]{TEXT}[/EMAIL]',
+ 'email' => '[EMAIL={EMAIL;useContent} subject={TEXT;optional;postFilter=rawurlencode} body={TEXT;optional;postFilter=rawurlencode}]{TEXT}[/EMAIL]',
'flash' => '[FLASH={NUMBER1},{NUMBER2} width={NUMBER1;postFilter=#flashwidth} height={NUMBER2;postFilter=#flashheight} url={URL;useContent} /]',
'i' => '[I]{TEXT}[/I]',
'img' => '[IMG src={IMAGEURL;useContent}]',