This website requires JavaScript.
Explore
Help
Sign In
_Bastler
/
partey_workadventure
Watch
1
Star
0
Fork
0
You've already forked partey_workadventure
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
90c0e2dd97
partey_workadventure
/
maps
/
tests
/
Metadata
/
cowebsiteAllowApi.js
2 lines
57 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fixed potential injection by switching map container to PHP Some HTML files were importing iframe_api.js automatically by detecting the referrer document. While this was done in a safe way (the map container does not use cookies), it is not a best practice to load a script originating from document.referrer. This PR solves the issue by using PHP to inject the correct domain name in the HTML files.
2021-11-29 19:05:13 +01:00
WA
.
nav
.
openCoWebSite
(
"cowebsiteAllowApi.php"
,
true
,
""
)
;
Reference in New Issue
Copy Permalink