• We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
S

XF\Mvc\Router::prepareStringForUrl contains tiny amount of uneeded code

  • Thread starter Thread starter Steffen
  • Start date Start date
S

Steffen

Guest

There are no double quotes left after the immediately preceeding strtr call (not completely visible in the diff below) which replaces double quotes with a space character.

Diff:
Code:
--- a/src/XF/Mvc/Router.php +++ b/src/XF/Mvc/Router.php @@ -581,7 +581,7 @@ class Router '`!"$%^&*()-+={}[]<>;:@#~,./?|' . "\r\n\t\\", ' ' . ' ' ); -       $string = strtr($string, ['"' => '', "'" => '']); +       $string = strtr($string, ["'" =>...

Read more

Continue reading...
 
Back
Top