HomeSoftware Heritage

admin/origin_save: Do not modify unauthorized URLs list when rejecting

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

admin/origin_save: Do not modify unauthorized URLs list when rejecting

When rejecting a Save Code Now request, the submitted origin URL was
automatically added to the unauthorized URLs list. But this was
prolematic as a valid URL prefix could be added in that list and
thus a valid request whose origin URL has that prefix would be
automatically rejected.

So remove the automatic adding of origin URL in unauthorized list
when rejecting a request.

Also return 404 in the reject endpoint when the request does not
exist.

Details

Provenance
anlambertAuthored on Mar 21 2022, 2:15 PM
anlambertPushed on Mar 22 2022, 4:43 PM
Differential Revision
D7398: admin/origin_save: Do not modify unauthorized URLs list when rejecting
Build Status
Buildable 27712
Build 43371: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.