Opened 6 years ago

Closed 6 years ago

#1753 closed defect (fixed)

Petascope_Allow cross origin requests to different controllers than main controller

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.6
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

Current Petascope allows cross-origin request from a different domain to main controller /rasdaman/ows. However, client cannot connect to other controllers (e.g: /rasdaman/ows/wcps or /rasdaman/ows/GetCoverageExtents.

This blocks WSClient to work with coverages from a different domain Petascope.

Error from WSClient web browser's console:

Failed to load http://ows.rasdaman.org/rasdaman/ows/GetCoveragesExtents: 
No 'Access-Control-Allow-Origin' header is present on the requested resource. 
Origin 'http://localhost:8080' is therefore not allowed access.

Change History (1)

comment:1 by Bang Pham Huu, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.