leaningtech / cheerpj-meta

Run Java 8 applications, libraries, applets, Java Web Start, and Oracle Forms on the web without legacy plugins.
https://labs.leaningtech.com/cheerpj
434 stars 21 forks source link

connection filtering is more restrictive than standard #144

Closed ddyer0 closed 5 months ago

ddyer0 commented 2 years ago

try: http://tantrix.com/Match/match.html

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://tantrix.com:18080/matchserver?wsdl. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.

javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://tantrix.com:18080/matchserver?wsdl. It failed with: http://tantrix.com:18080/matchserver?wsdl. cheerpOS.js:1645:11

also, this test page: https://www.boardspace.net/cheerpj/cheer.html gets a similar error, but the same page, addressed as https://boardspace.net/cheerpj/cheer.html is allowed to make the connection

alexp-sssup commented 5 months ago

CORS is enforced by the browser and outside of CheerpJ control. I apologize for not closing this bug long ago.