Skip to content

Commit

Permalink
encode uri component
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 28, 2011
1 parent e60e384 commit 3d275c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http/public/javascripts/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ o(function(){
if (val.length < 2) return jobs.show();

// query
o.get('/job/search?q=' + val, function(ids){
o.get('/job/search?q=' + encodeURIComponent(val), function(ids){
jobs.each(function(i, el){
var id = el.id.replace('job-', '');
if (~ids.indexOf(id)) {
Expand Down

0 comments on commit 3d275c5

Please sign in to comment.