mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-04 09:15:33 +00:00
323374e2685bc8599a1854f7dec59bb39f03c935
The default access log format has been unnecessarily escaped, leading to spurious backslashes appearing in log lines. Additionally, the `RemoteAddr` field includes the port, which breaks most log parsers attempting to process it. I've added a call to `net.SplitHostPort()` attempting to isolate the address alone, with a fallback to the original address if it errs. Signed-off-by: Gary Moon <[email protected]>
Languages
TypeScript
42%
MDX
31.2%
Astro
7.9%
JavaScript
6.4%
Shell
6.3%
Other
6.2%