#1266 Fix checking if the target folder exists on uploading releases to forks
Merged by pingou. Opened by pingou.
fix_check  into  master

Download 1266.patch

werkzeug.secure_filename() would convert /forks/user/project into
forks_user_project making the check for the target folder invalid.
Thus we're removing it. The regex used when creating the project should
cover our back on insuring the project name is safe/secure.

Fixes https://pagure.io/pagure/issue/1262

:thumbsup:

thanks :)

Pull-Request has been merged by pingou

Metadata