Encode/decode tags before using it in the URL

Fixes #994

Conflicts:
	dist/swagger-ui.min.js
This commit is contained in:
Mohsen Azimi
2015-03-17 11:29:59 -07:00
parent f073f192a2
commit 9b409f75b8
5 changed files with 75 additions and 74 deletions

View File

@@ -18,6 +18,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
this.auths = opts.auths;
this.parentId = this.model.parentId;
this.nickname = this.model.nickname;
this.model.encodedParentId = encodeURIComponent(this.parentId);
return this;
},