nextcloud/lib/private
Roeland Jago Douma d0f8fa4619 Check the actual status code for 204 and 304
The header is the full http header like: HTTP/1.1 304 Not Modified
So comparing this to an int always yields false
This also makes the 304 RFC compliant as the resulting content length
should otherwise be the length of the message and not 0.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-24 17:52:33 +00:00
..
Accounts Add default values when parsing account data 2018-12-24 13:19:38 +00:00
Activity Set false as default for requirePNG 2019-02-19 13:59:01 +00:00
App Remove Google+ from Social Sharing Bundle (2) 2019-03-08 08:06:52 +00:00
AppFramework Check the actual status code for 204 and 304 2019-05-24 17:52:33 +00:00
Archive move log constants to ILogger 2018-04-26 10:45:52 +02:00
Authentication Clean pending 2FA authentication on password reset 2019-01-30 10:41:09 +01:00
BackgroundJob Fix integer background job id type error 2019-01-15 14:32:00 +00:00
Cache remove unneeded is_dir from file cache gc 2018-05-24 14:24:10 +02:00
Calendar RoomManager/ResourceManager: Inject IServerContainer instead of using OC Server 2018-10-08 01:50:17 +02:00
Collaboration Always query lookup server in GS mode 2019-02-25 09:24:30 +00:00
Command Use ::class statement instead of string 2018-01-29 12:03:47 +01:00
Comments Rewrite getNumberOfUnreadCommentsForFolder query 2019-01-03 16:10:13 +00:00
Console Refactor some code 2018-08-21 09:51:05 +02:00
Contacts/ContactsMenu Don't fail contacts menu on unkown user 2018-07-19 11:39:28 +02:00
Dashboard include dashboard into core 2018-10-15 19:59:27 +02:00
DB Allow to use Subqueries in from 2019-04-17 15:33:57 +02:00
Diagnostics
Encryption Add interface to allow storages from opting out of encryption 2018-11-27 16:56:48 +01:00
Federation translate nextcloud share types to OCM share types 2018-07-11 10:11:45 +02:00
Files take return of mkdir into account, throw exception on failure 2019-04-30 07:27:32 +00:00
FullTextSearch using the createIndex from FullTextSearchManager 2018-12-19 11:27:37 -01:00
GlobalScale
Group Merge pull request #12419 from nextcloud/bugfix/noid/group-creation-replace-insertIfNotExist 2018-11-12 21:14:38 +01:00
Hooks
Http HttpClient getHeader can return empty string 2019-01-08 15:26:23 +00:00
IntegrityCheck Handle strict typing in Checker and fix tests 2018-02-21 21:09:08 +01:00
L10N Typehint 2018-09-10 11:17:03 +02:00
legacy Use non-absolute logout URL to fix wrong URL in reverse proxy scenario 2019-05-08 23:38:42 +02:00
Lock Merge pull request #11942 from nextcloud/techdebt/noid/use-count-function 2018-11-12 17:43:56 +01:00
Lockdown
Log fix class might be undefined 2019-05-09 11:25:54 +02:00
Mail changed order of methods 2019-02-26 13:42:41 +00:00
Memcache Drop support for xcache 2018-08-12 17:14:08 +02:00
Migration
Notification Add return types and fully qualified function calls 2018-07-13 13:27:52 +02:00
OCS Allow to skip retrieving from cache in the DiscoveryService 2018-04-18 19:18:34 +02:00
Preview Only generate previews in powers of 4 and set min 2018-10-31 19:34:42 +01:00
Remote
Repair Use the querybuilder for the queries 2019-04-17 15:33:57 +02:00
RichObjectStrings Validate all rich objects not only the used ones 2018-12-05 20:06:09 +01:00
Route Use type casting instead of *val() method 2018-01-26 11:35:42 +01:00
Search
Security Fix the thorrtler whitelist bitmask 2019-02-12 07:56:07 +00:00
Session replace setcookie value with '' instead of null. 2018-09-06 20:34:16 +02:00
Settings Fix l10n for SettingsManager by injecting the l10n factory 2019-05-21 22:52:06 +00:00
Setup Use empty instead ?? because dbname is '' sometimes 2018-09-23 18:25:48 +02:00
Share Cleanup some unused sharing methods from the old sharing code 2018-11-02 10:49:42 +01:00
Share20 Merge pull request #14709 from HuemerGroup/groupname_like_username-allow_share_with_both 2019-03-20 16:32:53 +01:00
Support/CrashReport Fix @since version on new API 2018-09-05 20:58:39 +02:00
SystemTag Use the defined func()->count() instead of manual counting 2018-11-08 15:44:45 +01:00
Tagging Use ::class statement instead of string 2018-01-29 12:03:47 +01:00
Template Fix colorizeSvg with transformations that contain a comma (,) 2019-01-17 14:58:13 +00:00
Updater Backend work to provide NC whats New info to users 2018-07-05 14:33:08 +02:00
User Do not allow invalid users to be created 2019-04-15 09:04:32 +02:00
AllConfig.php Use a case insensitive search for email 2018-12-20 15:19:15 +00:00
AppConfig.php using isset() 2018-02-05 10:50:32 +01:00
Avatar.php Clear avatar cache with frontend repair 2018-11-08 08:31:21 +01:00
AvatarManager.php Clear avatar cache with frontend repair 2018-11-08 08:31:21 +01:00
CapabilitiesManager.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
Color.php Fix autoloader 2018-04-12 16:24:44 +02:00
Config.php Fix some typos 2018-03-21 14:30:56 +01:00
ContactsManager.php
DatabaseException.php
DatabaseSetupException.php
DateTimeFormatter.php
DateTimeZone.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
ForbiddenException.php
HintException.php
Installer.php There is no update available if the app didnt have a version (aka was not installed) 2018-08-02 14:27:16 +02:00
LargeFileHelper.php Make LargeFileHelper.php faster by avoiding execs as much as possible 2018-05-17 14:28:32 +02:00
Log.php Add breadcrumb support to crash reporters 2018-09-05 20:58:39 +02:00
MemoryInfo.php Adds license to files. Updates the branch. 2018-08-20 20:46:23 +02:00
NaturalSort.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
NaturalSort_DefaultCollator.php
NavigationManager.php Generate id for navigation item 2019-02-27 15:09:32 +00:00
NeedsUpdateException.php
NotSquareException.php
PreviewManager.php Allow the creationg of previews of files stored in appdata 2018-10-08 19:37:45 +02:00
PreviewNotAvailableException.php
RedisFactory.php Allow redis cluster to use password 2019-05-22 11:48:18 +00:00
Repair.php Repair step for link shares 2019-04-17 15:33:57 +02:00
RepairException.php
Search.php
Server.php Fix l10n for SettingsManager by injecting the l10n factory 2019-05-21 22:52:06 +00:00
ServerContainer.php
ServerNotAvailableException.php
ServiceUnavailableException.php
Setup.php make sure that the ocm end-point discovery /ocm-provider is not redirected to the index.php 2019-02-20 15:41:38 +01:00
Streamer.php Use zip32 only if there are less than 65536 files 2018-04-06 15:59:30 +02:00
SubAdmin.php Use group displayNames in users list 2018-03-08 17:13:49 +01:00
SystemConfig.php
TagManager.php
Tags.php Check if the favorite tag exists 2018-07-26 15:33:26 +02:00
TemplateLayout.php Fix "Undefined index: user_uid" on login page 2019-02-22 11:43:13 +00:00
TempManager.php
Updater.php Block install without CAN_INSTALL file 2019-04-15 12:24:12 +00:00
URLGenerator.php Allow empty strings in getAbsoluteURL 2018-11-20 13:36:16 +01:00