stable

Clone or download

Read-only

Use headers instead of request body to pass information to the SVN auth endpoint

This will make it easy to set these information in the nginx configuration and to use them as cache keys. To test you can use cURL like this: `curl -v 'https://<domain_name>/svn-project-auth' -X POST --user '<login_name>:<secret>' -H 'Tuleap-Project-Name: <project_name>'` Part of request #26407: De-duplicate authz/authn code used for SVN accesses Change-Id: I0fe71e7894cd25945b7494402aae51984ea1eaea

Modified Files

Name
M src/common/Request/RouteCollector.php +2 −0 Go to diff View file
M src/common/SVNCore/AccessControl/SVNProjectAccessController.php +12 −11 Go to diff View file
M tests/unit/common/SVNCore/AccessControl/SVNProjectAccessControllerTest.php +27 −7 Go to diff View file