stable

Clone or download

Read-only

Error when redirect URI has no path component

Part of story #14570 Authorization grant confirmation page How to test: - Go to a project's administration - Create an OAuth2 app with a redirect endpoint, for example "https://example.com" - Copy its client id from the table - go to https://tuleap.example.com/oauth2_server/authorize?client_id=<client_id>&redirect_uri=https%3A%2F%2Fexample.com (scopes and response_type omitted intentionally) There should not be an "undefined index" notice. You should be redirected to the redirect_uri (https://example.com). Change-Id: I3615b7ef01e971a8f2570d958cf13bf6de135431

Modified Files

Name
M plugins/oauth2_server/include/AuthorizationServer/AuthorizationEndpointGetController.php +2 −1 Go to diff View file
M plugins/oauth2_server/phpunit/AuthorizationServer/AuthorizationEndpointGetControllerTest.php +22 −0 Go to diff View file