0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 16:05:20 +01:00
gitea/routers/web
Zettat123 2010fbe060
Fix raw wiki links (#31825)
Fix #31395

This regression is introduced by #30273. To find out how GitHub handles
this case, I did [some
tests](https://github.com/go-gitea/gitea/issues/31395#issuecomment-2278929115).

I use redirect in this PR instead of checking if the corresponding `.md`
file exists when rendering the link because GitHub also uses redirect.
With this PR, there is no need to resolve the raw wiki link when
rendering a wiki page. If a wiki link points to a raw file, access will
be redirected to the raw link.
2024-08-16 20:40:51 +08:00
..
admin Support delete user email in admin panel (#31690) 2024-07-25 18:11:04 +08:00
auth OIDC: case-insensitive comparison for auth scheme Basic (#31706) 2024-07-26 19:51:45 +00:00
devtest Refactor names (#31405) 2024-06-19 06:32:45 +08:00
events
explore Add missing repository type filter parameters to pager (#31832) 2024-08-15 16:34:24 +00:00
feed Use GetDisplayName() instead of DisplayName() to generate rss feeds (#31687) 2024-07-25 17:33:02 +08:00
healthcheck
misc Make sure git version&feature are always prepared (#30877) 2024-05-06 18:34:16 +02:00
org Add missing repository type filter parameters to pager (#31832) 2024-08-15 16:34:24 +00:00
repo Fix raw wiki links (#31825) 2024-08-16 20:40:51 +08:00
shared Refactor names (#31405) 2024-06-19 06:32:45 +08:00
user Add missing repository type filter parameters to pager (#31832) 2024-08-15 16:34:24 +00:00
base.go Azure blob storage support (#30995) 2024-05-30 07:33:50 +00:00
githttp.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
goget.go
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
metrics.go
nodeinfo.go
passkey.go
swagger_json.go
web.go Support delete user email in admin panel (#31690) 2024-07-25 18:11:04 +08:00
webfinger.go