Add hcaptcha.com and subdomains to Javascript Whitelist so that captcha on Cloudflare security check operates properly. #2584
This commit is contained in:
parent
5262b34c34
commit
bd1caa2568
@ -539,6 +539,9 @@ Settings =
|
|||||||
/\/\/imgops\.com\/%URL/g
|
/\/\/imgops\.com\/%URL/g
|
||||||
'//imgops.com/start?url=%URL'
|
'//imgops.com/start?url=%URL'
|
||||||
)
|
)
|
||||||
|
if compareString < '00001.00014.00017.00002'
|
||||||
|
if data['jsWhitelist']?
|
||||||
|
set 'jsWhitelist', data['jsWhitelist'] + '\n\nhttps://hcaptcha.com\nhttps://*.hcaptcha.com'
|
||||||
changes
|
changes
|
||||||
|
|
||||||
loadSettings: (data, cb) ->
|
loadSettings: (data, cb) ->
|
||||||
|
|||||||
@ -862,6 +862,8 @@ Config =
|
|||||||
http://cdn.mathjax.org
|
http://cdn.mathjax.org
|
||||||
https://cdn.mathjax.org
|
https://cdn.mathjax.org
|
||||||
https://cdnjs.cloudflare.com
|
https://cdnjs.cloudflare.com
|
||||||
|
https://hcaptcha.com
|
||||||
|
https://*.hcaptcha.com
|
||||||
'self'
|
'self'
|
||||||
'unsafe-inline'
|
'unsafe-inline'
|
||||||
'unsafe-eval'
|
'unsafe-eval'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user