diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-01-10 00:06:30 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-01-10 00:40:21 +0100 |
commit | 05615bfd473f1eafa4ec253779568ab044467ceb (patch) | |
tree | 3c850b8089684a62a988b3c725477ab6ba998e85 /.bowerrc | |
parent | 59a1d16d0fd3d67833bfb728ce03cebc7fec4043 (diff) | |
download | nextcloud-server-05615bfd473f1eafa4ec253779568ab044467ceb.tar.gz nextcloud-server-05615bfd473f1eafa4ec253779568ab044467ceb.zip |
Simplify isValidPath and add unit tests
The check for invalid paths is actually over-complicated and performed twice resulting in a performance penalty. Additionally, I decided to add unit-tests to that function.
Part of https://github.com/owncloud/core/issues/13221
Diffstat (limited to '.bowerrc')
0 files changed, 0 insertions, 0 deletions