1. 22 Jul, 2012 1 commit
    • Salem Harrache's avatar
      Use normalpath() with base_path to avoid abort(404). · 8b6b380b
      Salem Harrache authored
      e.g:
      >>> op.normpath(directory).startswith(base_path)
      False
      >>> op.normpath(directory)
      u'/home/projects/mywebsite/static/utils'
      >>> base_path
      u'/home/projects/mywebsite/admin/../static'
      >>> base_path = op.normpath(base_path)
      >>> op.normpath(directory).startswith(base_path)
      True
      8b6b380b
  2. 30 May, 2012 6 commits
  3. 21 May, 2012 4 commits
  4. 18 May, 2012 2 commits
  5. 03 May, 2012 2 commits
  6. 02 May, 2012 6 commits
  7. 24 Apr, 2012 8 commits
  8. 13 Apr, 2012 1 commit
  9. 12 Apr, 2012 4 commits
  10. 11 Apr, 2012 2 commits
  11. 10 Apr, 2012 3 commits
  12. 09 Apr, 2012 1 commit