Skip to content

Commit

Permalink
Fixes issue where the parser was breaking URLs that contains equal si…
Browse files Browse the repository at this point in the history
…gn (=)
  • Loading branch information
gabriel-felipe committed May 4, 2020
1 parent 1651585 commit 61b54e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Netcarver/Textile/Parser.php
Expand Up @@ -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);
}
Expand Down

0 comments on commit 61b54e9

Please sign in to comment.