Should use path relative to the application root when saving and loading files

Bug #766210 reported by Connor Carney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scatterand
Invalid
Medium
Unassigned

Bug Description

When scatterand saves, it uses the entire request path to determine the server root, which breaks saving and loading when the application is not deployed at the server root.

Example:
Scatterand is deployed at http://example.com/scatterand/, with a document prefix of /var/scatterand/documents
Request http://example.com/scatterand/document.schd
Filestore should load documents from /var/scatterand/documents/document.schd, but instead it looks in /var/scatterand/documents/scatterand/document.schd

Tags: server
Connor Carney (cscarney)
Changed in scatterand:
importance: Undecided → Medium
Connor Carney (cscarney)
Changed in scatterand:
milestone: none → 0.1
milestone: 0.1 → 0.2
Revision history for this message
Connor Carney (cscarney) wrote :

On inspection, this seems to be a bug when the server doesn't set the PATH_INFO environment variable correctly. There's not much that we can do about that from this end.

Changed in scatterand:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.