#220 Block hardcoded URLs from becoming project names
Closed: Fixed None Opened 8 years ago by codeblock.

Right now you can create projects called e.g. "new" and "users" and "settings" but if you go to them, you don't actually see the repos, you see the "new project", "users" and "user settings" pages respectively.

For example, https://pagure.io/new/commits/ -- The project "new" exists, but if you go to https://pagure.io/new you get the "new project" form.

Should probably blacklist project names that would conflict with internal URLs.


There is already an option to blacklist projects:
https://pagure.io/pagure/blob/master/f/pagure/default_config.py#_147

Looks like it needs to be more generous :)

Login to comment on this ticket.

Metadata