You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
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.
6 months ago
..
api Fix RPM resource leak (#31794) 6 months ago
common Refactor route path normalization (#31381) 8 months ago
install Refactor names (#31405) 8 months ago
private Fix protected branch files detection on pre_receive hook (#31778) 6 months ago
utils Refactor external URL detection (#29973) 11 months ago
web Fix raw wiki links (#31825) 6 months ago
init.go Refactor names (#31405) 8 months ago