craft-oa / gdpr-invitation

0 stars 0 forks source link

ui.js with locale keys does not get created due to policies for anonymous users #29

Open withanage opened 1 month ago

withanage commented 1 month ago

Issue

https://craft-test.online/9658/index.php/publicknowledge/en/invitation/accept?id=4&key=biSQvg

Current findings

jardakotesovec commented 1 month ago

Would be very interested why this is happening on your server, there is no access restriction on the ui.js

withanage commented 3 weeks ago

FYI @jardakotesovec

Reason

; Restrict the list of allowed hosts to prevent HOST header injection. ; See docs/README.md for more details. The list should be JSON-formatted. ; An empty string indicates that all hosts should be trusted (not recommended!) ; Example: ; allowed_hosts = '["myjournal.tld", "anotherjournal.tld", "mylibrary.tld"]' allowed_hosts = "[\"localhost\"]"