diff options
author | Artur Neumann <info@individual-it.net> | 2017-02-28 08:25:34 +0545 |
---|---|---|
committer | Artur Neumann <info@individual-it.net> | 2017-02-28 08:25:34 +0545 |
commit | 9790fe7f5d349df4f56c427cf3559d004067eae5 (patch) | |
tree | 37d7dd5671bc3daef2f377134cc440542c80158e /core/js/js.js | |
parent | f1fccaca0605a5d183f78b2c39d2e09a54753787 (diff) | |
download | nextcloud-server-9790fe7f5d349df4f56c427cf3559d004067eae5.tar.gz nextcloud-server-9790fe7f5d349df4f56c427cf3559d004067eae5.zip |
make values with white spaces possible
a user might enter values with white spaces, and that should be possible
and valid
Signed-off-by: Artur Neumann <info@individual-it.net>
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index ba831e4251d..44204f438c5 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1682,7 +1682,7 @@ OC.Util = { return null; } - var s = string.toLowerCase(); + var s = string.toLowerCase().trim(); var bytes = null; var bytesArray = { |