kumar303/zamboni — comment on commit 837de5ded2dbd61bf17292dcc43f238d2ea2af2d
File: apps/amo/utils.py line 730
By kumar303:

What I was trying to do for this first iteration is make it compatible with all our current code that operates directly on file paths. That code can obviously do anything since there is no validation of the file paths.

The default django file storage wants you to specify a root directory to put all of your files in. It will raise an error if you add a path outside of that root. However, if we were to do that we'd have to change the location of all of our files since we don't have a common root. Setting the root simply to ``/`` actually doesn't fully solve it, I had to change path().