fixed: Viewing a Gallery File with non-ASCII keywords crashes
This commit is contained in:
parent
3b3347c4a8
commit
9dc6c29419
2 changed files with 3 additions and 2 deletions
|
|
@ -7,6 +7,7 @@
|
|||
- fixed #11492: photo details
|
||||
- fixed #11503: Gallery: Wrong owner after uploading of ZIP archives
|
||||
- fixed #11494: Error message on mysql down
|
||||
- fixed: Viewing a Gallery File with non-ASCII keywords crashes
|
||||
|
||||
7.9.1
|
||||
- fixed #11464: blank page after setting posts per page in Collaboration System to 0 (zero)
|
||||
|
|
|
|||
|
|
@ -901,13 +901,13 @@ sub view {
|
|||
keyword => $keyword,
|
||||
url_searchKeyword
|
||||
=> $self->getGallery->getUrl(
|
||||
"func=search;submit=1;keywords=" . uri_escape($keyword)
|
||||
"func=search;submit=1;keywords=" . uri_escape_utf8($keyword)
|
||||
),
|
||||
url_searchKeywordUser
|
||||
=> $self->getGallery->getUrl(
|
||||
"func=search;submit=1;"
|
||||
. "userId=" . $self->get("ownerUserId") . ';'
|
||||
. 'keywords=' . uri_escape( $keyword )
|
||||
. 'keywords=' . uri_escape_utf8( $keyword )
|
||||
),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue