mirror of
https://github.com/friendica/friendica
synced 2024-11-20 03:03:40 +00:00
Add URL decoding to query string in App\Arguments
- Slashes were stored url encoded
This commit is contained in:
parent
26b5de9a76
commit
dca1b8b580
1 changed files with 2 additions and 2 deletions
|
@ -105,9 +105,9 @@ class Arguments
|
|||
$queryString = '';
|
||||
|
||||
if (!empty($server['QUERY_STRING']) && strpos($server['QUERY_STRING'], 'pagename=') === 0) {
|
||||
$queryString = substr($server['QUERY_STRING'], 9);
|
||||
$queryString = urldecode(substr($server['QUERY_STRING'], 9));
|
||||
} elseif (!empty($server['QUERY_STRING']) && strpos($server['QUERY_STRING'], 'q=') === 0) {
|
||||
$queryString = substr($server['QUERY_STRING'], 2);
|
||||
$queryString = urldecode(substr($server['QUERY_STRING'], 2));
|
||||
}
|
||||
|
||||
// eventually strip ZRL
|
||||
|
|
Loading…
Reference in a new issue