Skip to content
Snippets Groups Projects
Commit 47ce9efd authored by Kevin Abel's avatar Kevin Abel
Browse files

Encode the q param to the directory service to ensure proper functionality.

parent 02fb23c6
No related branches found
No related tags found
No related merge requests found
...@@ -171,7 +171,7 @@ UNL_Search.doPeoplefinderQuery = function (val) { ...@@ -171,7 +171,7 @@ UNL_Search.doPeoplefinderQuery = function (val) {
} else { } else {
var pointer = this; var pointer = this;
WDN.loadJQuery(function(){ WDN.loadJQuery(function(){
WDN.get("http://directory.unl.edu/service.php?q=" + val, null, function(data, textStatus) { WDN.get("http://directory.unl.edu/service.php?q=" + encodeURIComponent(val), null, function(data, textStatus) {
pointer.peoplefinderCache.save(val, data); pointer.peoplefinderCache.save(val, data);
UNL_Search.handlePeoplefinderResults(data); UNL_Search.handlePeoplefinderResults(data);
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment