Porównaj commity

..

2 Commity

Autor SHA1 Wiadomość Data
AJ ONeal
f4413b29d0 v1.1.3 2018-02-27 14:21:10 -07:00
AJ ONeal
76b3d8c7d1 use non-decodable url 2018-02-27 14:20:43 -07:00
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -39,7 +39,7 @@ module.exports = function (opts) {
try {
encodedLocation = decodeURIComponent(newLocation);
} catch(e) {
encodedLocation = "#/error/?error_message=" + e.toString();
encodedLocation = newLocation; // "#/error/?error_message=" + e.toString();
}
var body = opts.body
.replace(/{{\s*HTML_URL\s*}}/ig, escapeHtml(encodedLocation))

Wyświetl plik

@ -1,6 +1,6 @@
{
"name": "redirect-https",
"version": "1.1.2",
"version": "1.1.3",
"description": "Redirect from HTTP to HTTPS using meta redirects",
"main": "index.js",
"scripts": {