mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 06:13:32 +09:00
Remove error_return_url more efficiently
This commit is contained in:
parent
586f010f55
commit
2cbfd4500c
2 changed files with 5 additions and 4 deletions
|
|
@ -234,7 +234,7 @@ function getUrl()
|
|||
$url = Context::getRequestUri();
|
||||
}
|
||||
|
||||
return preg_replace('@\berror_return_url=[^&]*|\w+=(?:&|$)@', '', $url);
|
||||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -257,7 +257,7 @@ function getNotEncodedUrl()
|
|||
$url = Context::getRequestUri();
|
||||
}
|
||||
|
||||
return preg_replace('@\berror_return_url=[^&]*|\w+=(?:&|$)@', '', $url);
|
||||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -280,7 +280,7 @@ function getAutoEncodedUrl()
|
|||
$url = Context::getRequestUri();
|
||||
}
|
||||
|
||||
return preg_replace('@\berror_return_url=[^&]*|\w+=(?:&|$)@', '', $url);
|
||||
return $url;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue