diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-12-20 08:58:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-20 08:58:33 +0100 |
commit | 0af4e9d4fe80ad3cffc6f3ff6a3d19d5f808cba9 (patch) | |
tree | b91084689580200f48e77f50d0d2b7efae0c893f /lib/public | |
parent | fcf5789916e914613addd7d7fe32cf50bfd614ae (diff) | |
parent | 7dcd6eb561f4bba7ed36ce1178c725278dd9b80e (diff) | |
download | nextcloud-server-0af4e9d4fe80ad3cffc6f3ff6a3d19d5f808cba9.tar.gz nextcloud-server-0af4e9d4fe80ad3cffc6f3ff6a3d19d5f808cba9.zip |
Merge pull request #34172 from audriga/add-scim-json-support
Add support for application/scim+json
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IRequest.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/IRequest.php b/lib/public/IRequest.php index 7696c3fa8c3..bb290233306 100644 --- a/lib/public/IRequest.php +++ b/lib/public/IRequest.php @@ -98,6 +98,11 @@ interface IRequest { public const USER_AGENT_THUNDERBIRD_ADDON = '/^Mozilla\/5\.0 \([A-Za-z ]+\) Nextcloud\-Thunderbird v.*$/'; /** + * @since 26.0.0 + */ + public const JSON_CONTENT_TYPE_REGEX = '/^application\/(?:[a-z0-9.-]+\+)?json\b/'; + + /** * @param string $name * * @psalm-taint-source input |