Skip to content

Commit

Permalink
Fix issue with non url encoded SMQTK requests
Browse files Browse the repository at this point in the history
  • Loading branch information
danlamanna committed Jan 18, 2016
1 parent a20e53e commit 4e41159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagespace_smqtk/web_client/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ girder.events.once('im:appload.after', function () {
search: function (image) {
return new imagespace.collections.ImageCollection(null, _.extend({
params: {
url: _.has(image, 'imageUrl') ? image.imageUrl : image.get('imageUrl')
url: encodeURIComponent(_.has(image, 'imageUrl') ? image.imageUrl : image.get('imageUrl'))
},
supportsPagination: false,
comparator: function (image) {
Expand Down

0 comments on commit 4e41159

Please sign in to comment.