pages-server/server
Gary Wang 9076bc3f75 Support access branch that contains slash character (#102)
So we can access branch that contain slash like `branch/name` with `username.codeberg.page/repo/@branch~name/`.

Branch name cannot contain `~` character but it can be in a HTTP URL, so replace the `~` from URL to `/` could be a valid solution to me.

Resolve #101

Co-authored-by: Gary Wang <wzc782970009@gmail.com>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/102
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: Gary Wang <blumia@noreply.codeberg.org>
Co-committed-by: Gary Wang <blumia@noreply.codeberg.org>
2022-07-08 13:39:24 +02:00
..
cache make mem cache an interface and inject 2021-12-05 14:48:51 +01:00
certificates Move gitea api calls in own "client" package (#78) 2022-06-11 23:02:06 +02:00
database Move gitea api calls in own "client" package (#78) 2022-06-11 23:02:06 +02:00
dns unexport if posible 2021-12-05 16:24:26 +01:00
gitea Propagate ETag from gitea (#93) 2022-06-14 18:23:34 +02:00
upstream Propagate ETag from gitea (#93) 2022-06-14 18:23:34 +02:00
utils move more args of Upstream() to upstream Options 2021-12-05 19:53:23 +01:00
version Release via CI (#94) 2022-06-14 20:35:11 +02:00
handler_test.go Enhance joinURL and return error on gitea client on start instead while running (#88) 2022-06-13 20:07:32 +02:00
handler.go Support access branch that contains slash character (#102) 2022-07-08 13:39:24 +02:00
helpers.go move helper func in related packages 2021-12-05 14:48:47 +01:00
setup.go Increase concurrent connections to default value (#99) 2022-07-03 13:20:02 +02:00
try.go Move gitea api calls in own "client" package (#78) 2022-06-11 23:02:06 +02:00