From 61b54e9673704a2f7143fe743beb708fbc1448bb Mon Sep 17 00:00:00 2001 From: Gabriel Felipe Date: Mon, 4 May 2020 14:41:27 -0300 Subject: [PATCH] Fixes issue where the parser was breaking URLs that contains equal sign (=) --- src/Netcarver/Textile/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Netcarver/Textile/Parser.php b/src/Netcarver/Textile/Parser.php index eae88220..d93c58cf 100644 --- a/src/Netcarver/Textile/Parser.php +++ b/src/Netcarver/Textile/Parser.php @@ -4049,7 +4049,7 @@ protected function rebuildURI($parts, $mask = 'scheme,authority,path,query,fragm } else { $pp = explode('/', $parts['path']); foreach ($pp as &$p) { - $p = str_replace(array('%25', '%40'), array('%', '@'), rawurlencode($p)); + $p = str_replace(array('%25', '%40','%3D'), array('%', '@','='), rawurlencode($p)); if (!in_array($parts['scheme'], array('mailto'))) { $p = str_replace('%2B', '+', $p); }