summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorOtto <otto@codeberg.org>2024-11-06 10:16:17 +0100
committerOtto <otto@codeberg.org>2024-11-06 10:16:17 +0100
commit0fb48872ac110d981de7e0f24c17f445c7949c7e (patch)
treebd33f7937477c5bf1bad2c2304f06137ce283ee6 /routers
parentMerge pull request '[gitea] week 2024-45 cherry pick (gitea/main -> forgejo)'... (diff)
parent[FEAT] Trim spaces from repository name (diff)
downloadforgejo-0fb48872ac110d981de7e0f24c17f445c7949c7e.tar.xz
forgejo-0fb48872ac110d981de7e0f24c17f445c7949c7e.zip
Merge pull request '[FEAT] Trim spaces from repo names on form submission' (#5822) from gusted/forgejo-trim-spaces-form into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5822 Reviewed-by: Otto <otto@codeberg.org>
Diffstat (limited to 'routers')
-rw-r--r--routers/api/v1/api.go2
-rw-r--r--routers/private/internal.go2
-rw-r--r--routers/web/auth/oauth.go2
-rw-r--r--routers/web/repo/issue.go2
-rw-r--r--routers/web/repo/setting/webhook.go2
5 files changed, 5 insertions, 5 deletions
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go
index b8f49a5bb6..718b27aeef 100644
--- a/routers/api/v1/api.go
+++ b/routers/api/v1/api.go
@@ -103,7 +103,7 @@ import (
_ "code.gitea.io/gitea/routers/api/v1/swagger" // for swagger generation
- "gitea.com/go-chi/binding"
+ "code.forgejo.org/go-chi/binding"
)
func sudo() func(ctx *context.APIContext) {
diff --git a/routers/private/internal.go b/routers/private/internal.go
index 311f59b60e..dfbdc6967b 100644
--- a/routers/private/internal.go
+++ b/routers/private/internal.go
@@ -15,7 +15,7 @@ import (
"code.gitea.io/gitea/modules/web"
"code.gitea.io/gitea/services/context"
- "gitea.com/go-chi/binding"
+ "code.forgejo.org/go-chi/binding"
chi_middleware "github.com/go-chi/chi/v5/middleware"
)
diff --git a/routers/web/auth/oauth.go b/routers/web/auth/oauth.go
index ee08b514b1..a9cbce9a9d 100644
--- a/routers/web/auth/oauth.go
+++ b/routers/web/auth/oauth.go
@@ -40,7 +40,7 @@ import (
remote_service "code.gitea.io/gitea/services/remote"
user_service "code.gitea.io/gitea/services/user"
- "gitea.com/go-chi/binding"
+ "code.forgejo.org/go-chi/binding"
"github.com/golang-jwt/jwt/v5"
"github.com/markbates/goth"
"github.com/markbates/goth/gothic"
diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go
index a9351c6a55..6a485b0066 100644
--- a/routers/web/repo/issue.go
+++ b/routers/web/repo/issue.go
@@ -58,7 +58,7 @@ import (
pull_service "code.gitea.io/gitea/services/pull"
repo_service "code.gitea.io/gitea/services/repository"
- "gitea.com/go-chi/binding"
+ "code.forgejo.org/go-chi/binding"
)
const (
diff --git a/routers/web/repo/setting/webhook.go b/routers/web/repo/setting/webhook.go
index eee493e2c2..af54997794 100644
--- a/routers/web/repo/setting/webhook.go
+++ b/routers/web/repo/setting/webhook.go
@@ -28,7 +28,7 @@ import (
"code.gitea.io/gitea/services/forms"
webhook_service "code.gitea.io/gitea/services/webhook"
- "gitea.com/go-chi/binding"
+ "code.forgejo.org/go-chi/binding"
)
const (