mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
Remove URL reverse escaping
This commit is contained in:
parent
2ab91d7659
commit
d0eeb37eb4
1 changed files with 0 additions and 5 deletions
|
@ -29,11 +29,6 @@ $router->map('GET', '/[:uid]', function() {}, 'profile');
|
||||||
// Router matching
|
// Router matching
|
||||||
$match = $router->match();
|
$match = $router->match();
|
||||||
|
|
||||||
// Fix "escaped" email address
|
|
||||||
if (array_key_exists('uid', $match['params'])) {
|
|
||||||
$match['params']['uid'] = str_lreplace('_', '.', $match['params']['uid']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Render the appropriate route
|
// Render the appropriate route
|
||||||
if(is_array($match) && is_callable($match['target'])) {
|
if(is_array($match) && is_callable($match['target'])) {
|
||||||
switch ($match['name']) {
|
switch ($match['name']) {
|
||||||
|
|
Loading…
Reference in a new issue