Community
Participate
Working Groups
I20110426-0200 I was using a fresh server install from this build, not a self-hosting workspace. Steps: 1) Unzip server 2) double-click eclipse.exe to start it 3) Go to http://localhost:8080/git-clone.html 4) Clone http://git.eclipse.org/c/e4/org.eclipse.e4.deeplink.git/ 5) Click the "Link Repository" action. 403 error occurs because I am not allowed to link a project at that location. message: "Unable to load http://localhost:8080/workspace/A status:403" responseText: "{"Severity":"Error","Message":"Cannot link to server path","HttpCode":403,"Code":0}" stack: "Error: Unable to load http://localhost:8080/workspace/A status:403↵ at Object.resHandle (http://l…" status: 403
Running props on the console I can see: org.eclipse.orion.server.core.userArea = C:\temp\orion\eclipse\serverworkspace\.metadata\.plugins\org.eclipse.orion.server.core\userArea However org.eclipse.orion.server.core.allowedPathPrefixes is undefined.
The problem is in WorkspaceResourceHandler#isAllowedLinkDestination. if the allowedPathPrefixes is undefined, it just returns without checking the user area.
Fixed. http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=40fd84fda7cfc444cfe09cd35c764a6e440658bc