more url_escape
This commit is contained in:
parent
c78aa580c0
commit
41cc80df34
1 changed files with 1 additions and 2 deletions
|
@ -125,9 +125,8 @@ class ViewImage extends SimpleExtension {
|
|||
|
||||
send_event(new ImageInfoSetEvent(Image::by_id($image_id)));
|
||||
|
||||
$query = $_POST['query'];
|
||||
$page->set_mode("redirect");
|
||||
$page->set_redirect(make_link("post/view/$image_id", $query));
|
||||
$page->set_redirect(make_link("post/view/$image_id", url_escape($_POST['query'])));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue