Skip to content

Commit

Permalink
Merge pull request #8776 from alfarok/master
Browse files Browse the repository at this point in the history
Update librarie.min.js & decode search text
  • Loading branch information
alfarok authored Apr 23, 2018
2 parents a20c285 + cce58a5 commit a5a45b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/LibraryViewExtension/Handlers/SearchResultDataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public override Stream GetResource(IRequest request, out string extension)
var pathAndQuery = uri.PathAndQuery;
var index = url.IndexOf(serviceIdentifier);
var text = url.Substring(index + serviceIdentifier.Length + 1);
// unescape query before searching
text = Uri.UnescapeDataString(text);

var elements = model.Search(text);

Expand Down
2 changes: 1 addition & 1 deletion src/LibraryViewExtension/web/library/librarie.min.js

Large diffs are not rendered by default.

0 comments on commit a5a45b6

Please sign in to comment.