diff options
author | natoponen <57988162+natoponen@users.noreply.github.com> | 2022-11-08 10:45:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 10:45:58 +0300 |
commit | bd7a1e4dcb592ac35bd6756d7d2568c3ebce2b5a (patch) | |
tree | 104856c63fd6ec7f08b9a435f6f7be3ca17962ad /apps/files_sharing/src/additionalScripts.js | |
parent | 0f3fdced4f214558fd3240bfaf868b661a8de8a2 (diff) | |
download | nextcloud-server-bd7a1e4dcb592ac35bd6756d7d2568c3ebce2b5a.tar.gz nextcloud-server-bd7a1e4dcb592ac35bd6756d7d2568c3ebce2b5a.zip |
Appropriate length check in Notification.php
There is an issue(bug) when using UTF-8 symbols in any method, which checks the length of string as `isset($id[64])`. You can set only 32 UTF-8 symbols because they are 2 byte, and this "array" check seems inapropriate in this case, as it throws unexpected exceptions.
Signed-off-by: natoponen <57988162+natoponen@users.noreply.github.com>
Diffstat (limited to 'apps/files_sharing/src/additionalScripts.js')
0 files changed, 0 insertions, 0 deletions