Mercurial Hosting > hghosting
diff src/admin/add.html.luan @ 23:7c9a45368af2 default tip
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 04 Oct 2024 12:06:16 -0600 |
parents | b14073ab9d07 |
children |
line wrap: on
line diff
--- a/src/admin/add.html.luan Sun Sep 15 08:21:43 2024 -0600 +++ b/src/admin/add.html.luan Fri Oct 04 12:06:16 2024 -0600 @@ -16,7 +16,7 @@ local function handle() local user = get_user() local repo_name = Http.request.parameters.repo or error() - name_regex.matches( repo_name ) or error "invalid regex name" + name_regex.matches( repo_name ) or error "invalid repo name" if repo_name=="_all" or repo_name=="_private" then return [[<p error>Invalid rep name</p>]] end