nextcloud/lib/private
Roeland Jago Douma c27722520c
Make sure the log doesn't try to read from PUT if it can't
If a PUT request comes in that is not JSON or from encoded. Then we can
only read it (exactly) once. If that is the case we must assume no
shared secret is set.

If we don't then we either are the first to read it, thus causing the
real read of the data to fail.

Or we are later and then it throws an exception (also failing the
request).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-30 20:27:30 +02:00
..
Accounts Remove account data on user deletion 2017-05-15 13:31:31 +02:00
Activity Add a flag to allow checking if SVGs are okay 2017-07-07 11:16:37 +02:00
App Add missing import 2018-03-06 17:20:11 +01:00
AppFramework extend the identity proof manager to allow system wide key pairs 2017-08-30 20:36:10 +02:00
Archive replace close:// streamwrapper with CallBackWrapper 2017-01-06 15:33:32 +01:00
Authentication Properly set expires to NULL when creating a token 2018-05-23 17:02:15 +02:00
BackgroundJob Add duration of last job execution to the table 2017-04-25 17:39:58 +02:00
Cache support pushing to CappedMemoryCache 2017-03-30 11:21:32 +02:00
Command Update with robin 2016-07-21 18:13:58 +02:00
Comments Can not insert auto increment on oracle 2017-08-03 16:40:00 +02:00
Console Remove unused use statements 2017-04-22 19:23:31 -05:00
Contacts/ContactsMenu Add filter for `shareapi_allow_share_dialog_user_enumeration` 2017-09-18 17:28:07 +02:00
DB Add a method to compare empty strings with an expression 2017-08-03 16:41:03 +02:00
Diagnostics Fix missing conflict resolutions 2017-04-26 17:05:59 +02:00
Encryption don't try to encrypt/decrypt the certificate bundle 2017-06-13 10:07:55 +02:00
Federation Fix DI of the cloud id manager into apps 2017-02-14 12:47:46 +01:00
Files cleanup locks in scanner on error 2018-05-23 20:06:34 +02:00
GlobalScale add new config switched for the global scale architecture 2017-06-02 11:00:08 +02:00
Group filter missing groups in share provider 2017-06-13 10:54:02 +02:00
Hooks Update with robin 2016-07-21 18:13:58 +02:00
Http/Client Rebrand to "Nextcloud" and add 100% coverage 2017-01-02 14:51:16 +01:00
IntegrityCheck Remove ownCloud Root Authority as per todo 2017-03-22 08:54:40 +01:00
L10N Always set the request language to the force language 2018-05-24 13:09:21 +02:00
Lock Update with robin 2016-07-21 18:13:58 +02:00
Lockdown Remove unused use statements 2017-04-22 19:23:31 -05:00
Log Ensure log message is UTF-8 encoded 2017-08-21 10:21:54 +02:00
Mail Provide an option to disable HTML emails 2018-04-18 22:53:37 +02:00
Memcache Do not scan for keys just get all the keys (with prefix) 2017-05-16 09:52:05 +02:00
Migration Adding tests for 4 byte unicode characters 2017-03-21 16:42:12 -06:00
Notification @since 9.2.0 to @since 11.0.0 2016-11-15 18:51:52 +01:00
OCS add tests for discovery service 2017-04-11 15:04:01 +02:00
Preview Make sure the file is readable before attempting to create a preview 2018-05-29 22:04:17 +02:00
Repair Don't use double quotes in MySQL queries 2018-03-06 11:25:37 +01:00
RichObjectStrings @since 9.2.0 to @since 11.0.0 2016-11-15 18:51:52 +01:00
Route Check whether the $_SERVER['REQUEST_*'] vars exist before using them 2017-05-15 14:33:27 +02:00
Search Fix others 2016-07-21 18:13:57 +02:00
Security add prefix to user and system keys to avoid name collisions 2017-08-30 20:36:10 +02:00
Session Forward port of #5190 to stable12 2017-06-15 11:18:22 +02:00
Settings Remove wrong entry in admin_settings that causes 500 2017-12-11 21:04:56 +01:00
Setup fix install on mb4 enabled mariadb/mysql 2017-06-01 13:12:30 +02:00
Share Fix last failures with oracle 2017-08-03 16:40:46 +02:00
Share20 Only in case of $currentAccess the array uses the id as index 2017-11-28 17:24:19 +01:00
SystemTag Remove unused use statements 2017-04-22 19:23:31 -05:00
Tagging Fix others 2016-07-21 18:13:57 +02:00
Template Revert rebaseurl function edit 2018-01-05 08:35:38 +01:00
Updater Show EOL warning in the update section 2018-04-18 13:50:29 +02:00
User never translate login names when requiring with a user id 2018-01-04 11:47:31 +01:00
legacy Add throws annotation 2018-03-02 17:17:44 +01:00
AllConfig.php Merge pull request #3023 from nextcloud/issue-2915-filter-out-sensitive-appconfigs 2017-01-17 11:01:42 +01:00
AppConfig.php Fix undefined index problem 2018-03-20 09:18:36 +01:00
AppHelper.php Fix others 2016-07-21 18:13:57 +02:00
Avatar.php Pass new value to triggerChange 2017-09-15 20:23:45 +02:00
AvatarManager.php Fix own avatar not updated when display name is changed 2018-01-31 18:32:36 +01:00
CapabilitiesManager.php Make the capabilities manager more error proof 2016-08-15 20:37:19 +02:00
Config.php Fix escaped HTML on error pages 2017-05-08 21:16:08 -05:00
ContactsManager.php Fix others 2016-07-21 18:13:57 +02:00
DatabaseException.php Fix others 2016-07-21 18:13:57 +02:00
DatabaseSetupException.php Fix others 2016-07-21 18:13:57 +02:00
DateTimeFormatter.php Correction 2017-10-22 07:46:18 +02:00
DateTimeZone.php Fix others 2016-07-21 18:13:57 +02:00
ForbiddenException.php Fix others 2016-07-21 18:13:57 +02:00
HTTPHelper.php Fix others 2016-07-21 18:13:57 +02:00
HintException.php add missing phpdoc to HintException 2016-11-28 11:34:23 +01:00
Installer.php Remove OC_App:installApp 2017-05-15 00:03:35 -05:00
LargeFileHelper.php Merge pull request #1890 from nextcloud/downstream-25428 2016-10-25 14:44:27 +02:00
Log.php Make sure the log doesn't try to read from PUT if it can't 2018-05-30 20:27:30 +02:00
NaturalSort.php Fix others 2016-07-21 18:13:57 +02:00
NaturalSort_DefaultCollator.php Fix others 2016-07-21 18:13:57 +02:00
NavigationManager.php Inject \OCP\IURLGenerator to make tests work 2017-08-30 14:42:50 +02:00
NeedsUpdateException.php Update with robin 2016-07-21 18:13:58 +02:00
NotSquareException.php Fix others 2016-07-21 18:13:57 +02:00
PreviewManager.php Add PHPDoc 2017-05-02 13:43:47 +02:00
PreviewNotAvailableException.php Opening the trashbin causes errors in log for files without preview 2016-09-09 13:53:06 +02:00
RedisFactory.php no ternary 2017-03-25 21:25:38 -06:00
Repair.php move repair step to stable12 2017-08-30 20:36:47 +02:00
RepairException.php Fix others 2016-07-21 18:13:57 +02:00
Search.php Update with robin 2016-07-21 18:13:58 +02:00
Server.php Use the language of the recipient for the share notification 2017-09-11 11:28:20 +02:00
ServerContainer.php Fix missing argument 2 for Settings classes 2017-05-19 22:30:55 +02:00
ServerNotAvailableException.php Fix others 2016-07-21 18:13:57 +02:00
ServiceUnavailableException.php Update with robin 2016-07-21 18:13:58 +02:00
Setup.php Handle SSL certificate verifications for others than Let's Encrypt 2018-02-05 15:39:13 +01:00
Streamer.php Add doc block for $time 2016-11-28 14:26:30 +01:00
SubAdmin.php Fix CamelCasing 2017-01-18 11:45:26 +01:00
SystemConfig.php Fix tests 2017-01-12 10:49:22 +01:00
TagManager.php Fix others 2016-07-21 18:13:57 +02:00
Tags.php Update with robin 2016-07-21 18:13:58 +02:00
TempManager.php Update with robin 2016-07-21 18:13:58 +02:00
TemplateLayout.php Fix 500 on setup page 2018-03-06 13:28:31 +01:00
URLGenerator.php Add tests and inject IRequest 2017-07-02 14:03:35 +02:00
Updater.php Allow migration from upcoming 10.0.4 ownCloud release 2017-11-22 14:06:07 +01:00