Ver a proveniência

Merge branch 'master' into ft/oas3-tio

bubble
Kyle há 7 anos
committed by GitHub
ascendente
cometimento
a2b572872f
3 ficheiros alterados com 11 adições e 3 eliminações
  1. +1
    -1
      .github/issue_template.md
  2. +5
    -1
      dev-helpers/oauth2-redirect.html
  3. +5
    -1
      dist/oauth2-redirect.html

+ 1
- 1
.github/issue_template.md Ver ficheiro

@@ -25,7 +25,7 @@ or anything that violates the specifications.
| Which Swagger/OpenAPI version? |
| Which Swagger-UI version? |
| How did you install Swagger-UI? |
| Which broswer & version? |
| Which browser & version? |
| Which operating system? |




+ 5
- 1
dev-helpers/oauth2-redirect.html Ver ficheiro

@@ -11,7 +11,11 @@
var redirectUrl = oauth2.redirectUrl;
var isValid, qp, arr;

qp = (window.location.hash || location.search).substring(1);
if (/code|token|error/.test(window.location.hash)) {
qp = window.location.hash.substring(1);
} else {
qp = location.search.substring(1);
}

arr = qp.split("&")
arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';})


+ 5
- 1
dist/oauth2-redirect.html Ver ficheiro

@@ -11,7 +11,11 @@
var redirectUrl = oauth2.redirectUrl;
var isValid, qp, arr;

qp = (window.location.hash || location.search).substring(1);
if (/code|token|error/.test(window.location.hash)) {
qp = window.location.hash.substring(1);
} else {
qp = location.search.substring(1);
}

arr = qp.split("&")
arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';})


Carregando…
Cancelar
Guardar