Commit 924f76ee authored by Michael Ochmann's avatar Michael Ochmann

made special chars in shortcode possible

parent 1fd3bd25
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([\w]+)/? index.php?shortcode=$1
RewriteRule ^([\w\+\-\$\§\(\)]+)/? index.php?shortcode=$1
<FilesMatch "\.(?:ini)$">
Order allow,deny
......
......@@ -12,7 +12,7 @@ class Redirector {
}
private function redirect() {
$shortcode = $_GET["shortcode"];
$shortcode = urlencode($_GET["shortcode"]);
$id2 = null;
$visits = 0;
$redirect = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment