Fix wrong detection of "repo in repo" check

Review Request #3792 — Created Jan. 30, 2025 and updated

Information

grim/hgkeeper
default

Reviewers

Fix wrong detection of "repo in repo" check

If a repository "Dummy/RepoName-Something" exists
and we want to create "Dummy/RepoName" it was forbidden. So
let's add a / to avoid "contains" check.

This amends ebf8e3bd9e68.


 
Summary ID Author
Fix wrong detection of "repo in repo" check
If a repository "Dummy/RepoName-Something" exists and we want to create "Dummy/RepoName" it was forbidden. So let's add a / to avoid "contains" check. This amends ebf8e3bd9e68.
7e08fdb4d2cf86a5c26a8bfbefec3a268db35278 Andre Klitzing
Description From Last Updated

What happens if the user puts a / at the end of their repo name, does this end up with …

grimgrim
grim
  1. 
      
  2. access/repositories.go (Diff revision 1)
     
     
    Show all issues

    What happens if the user puts a / at the end of their repo name, does this end up with with // then?

  3. 
      
grim
grim
Review request changed
Status:
Re-opened