server/core
Christoph Wurst f28a23cdd8 Trim the login name
Otherwise we keep on using it with leading or trailing whitespaces for
app tokens and other logic. The reason this doesn't throw an error
immediately with local users is that (My)SQL compares strings regardless
of their padding by default. So we look up 'uid ' and get the row for
the user 'uid'.
Other back-ends will lead to a hard error, though, and the user is
unable to log out as all request fail.

Ref https://stackoverflow.com/a/10495807/2239067

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-29 07:50:52 +00:00
..
ajax
BackgroundJobs
Command Incorrect integer value: '' for column 'password_invalid' while migrating from pg to mysql #14920 2019-11-25 10:38:39 +00:00
Controller Trim the login name 2019-11-29 07:50:52 +00:00
css 🐛 FIX: horizontal scrolling on mobile due to tab accessibility navigation 'skip to content' positioned at a fixed position 2019-11-10 08:47:56 +00:00
Data
Db
doc
Exception Use proper exception in lostController 2019-07-27 20:12:16 +02:00
fonts Move font from Nunito to Noto Sans 2019-06-22 11:23:44 +02:00
img Add enterprise logo 2019-07-15 16:45:53 +02:00
js Force save share link password if click outside 2019-11-08 08:40:29 +00:00
l10n [tx-robot] updated from transifex 2019-11-29 02:17:03 +00:00
Middleware Harden middleware check 2019-10-25 14:34:41 +00:00
Migrations Add DB table to extend filecache with metadata etag, creation time and upload time 2019-07-15 16:58:44 +02:00
Notification Fix new core notifier 2019-07-15 15:14:58 +02:00
search Fix fetching additional search results on scrolling down 2019-10-22 20:02:25 +02:00
Service Fix weird KDE bug with loginflowv2 2019-10-26 11:53:51 +00:00
skeleton
src Fix browser back button 2019-10-22 12:58:53 +00:00
templates Don't use an undefined index if not needed 2019-10-03 17:12:59 +00:00
vendor
.l10nignore Add core/js/dist/ to l10nignore 2019-06-13 13:55:22 +02:00
Application.php Keep the old method as a fallback and adjust the tests 2019-07-16 11:36:32 +02:00
register_command.php Stop decryption when maintenance mode is enabled, fixes #8311 2019-05-21 09:24:50 +02:00
routes.php Allow rotation of apppasswords 2019-08-27 13:46:06 +02:00
shipped.json Remove files_texteditor from shipped apps 2019-07-24 14:16:17 +02:00
strings.php
webpack.js Unify webpack config 2019-05-29 15:19:18 +02:00