Hi;
I want to access/read the content of a fisheye raw file using an external javascript which runs inside a confluence page so i can give code samples in my documentation.
While I can access the raw file using the browser, it can not be read inside the js. Do you know why?
I've tried my js script by serving a file from an external apache instance and it works. Where as it can not read the raw file that is served by fisheye.
I've thought it could be an issue with CORS support but i can not be able to find how to enable CORS in fisheye / crucible. Any helps are highly appreciated.
Please consider following while answering this question:
- Raw file settings are "insecure" in fisheye-crucible.
- Accessing the raw file using this path pattern "http://<fisheye-url-and-context>/browse/~raw,r=<revision-number>/<repository-name>/<full-file-path>"
- it is a .java file.
- Both fisheye-crucible and confluence runs on the same server with default installation configuration and it is win 8 server.
- Fisheye-crucible ver: 2.10, confluence ver: 4.3.7