stable

Clone or download

Read-only

request #23452: Doing REST or Webdav operations with Basic Auth should not create a "long session"

Nothing is stored anymore when calling a restricted REST endpoint via basic authentication (same for Webdav). To test, you can check the number of rows in the `session` table before and after a call. Also, no `session_hash` is sent anymore in those situations. Change-Id: Ie53e8048f97c6d4fdbb2258e29ed44c6ba7c8a20

Modified Files

Name
M plugins/webdav/include/WebDAVAuthentication.class.php +13 −1 Go to diff View file
M plugins/webdav/include/webdavPlugin.php +11 −2 Go to diff View file
M plugins/webdav/tests/unit/WebDAVAuthenticationTest.php +13 −8 Go to diff View file
M src/common/REST/BasicAuthentication.class.php +18 −7 Go to diff View file