EudatHttpApi/http-api — pull request #48 by mhellmic (2014-03-21 12:48:03+00:00)
Title: limit the allowed paths in localstorage

this replaces the earlier way to limit the exported paths
the earlier did:
- specify a prefix in the config
- check if the prefix is in the path
- prepend the prefix to all paths
- if the path was outside the prefix, return prefix as path

the new method does:
- specify a list of prefixes to export
- check if one of the prefixes match with path
- if yes, keep path
- if not, raise notfoundexception

this has advantages:
- multiple paths can be exported
- the path is not changed unexpectedly