redirect bugfix
This commit is contained in:
parent
32200fa18a
commit
a952321973
@ -77,7 +77,7 @@ Redirect =
|
||||
"#{Redirect.protocol archive}#{archive.domain}/#{path}"
|
||||
|
||||
navigate: (URL, alternative) ->
|
||||
if (
|
||||
if URL and (
|
||||
/^https:\/\//.test(URL) or
|
||||
location.protocol is 'http:' or
|
||||
confirm "Redirect to #{URL}?\n\nYour connection will not be encrypted."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user