Merge pull request #891 from mohsen1/encode-url

decode encoded URLs
This commit is contained in:
Tony Tam
2015-01-30 16:04:54 -08:00

View File

@@ -24,7 +24,7 @@
<script src='lib/swagger-oauth.js' type='text/javascript'></script>
<script type="text/javascript">
$(function () {
var url = window.location.search.match(/url=([^&]+)/);
var url = decodeURIComponent(window.location.search.match(/url=([^&]+)/));
if (url && url.length > 1) {
url = url[1];
} else {