1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-04 10:50:48 +02:00
Files
wxiaoguang aee6628bf5 Fix URL related escaping for oauth2 (#37334)
Follow up #37327. See the comments.

* Root problem: the design of OAuth2 providers is a mess, the display
name is used as provider's name and used in the URL directly
* The regressions:
* When trying to fix https://github.com/go-gitea/gitea/issues/36409 , it
introduced inconsistent URL escaping for the "path" part.
* This fix: always use "path escaping" for the path part, add more tests
to cover all escaping cases.

Now, frontend "pathEscape" and "pathEscapeSegments" generate exactly the
same result as backend.
2026-04-21 23:58:32 +08:00
..
2026-03-27 04:39:24 +01:00
2026-02-10 05:09:56 +00:00
2025-07-01 21:44:05 +08:00
2025-09-14 19:15:06 +03:00
2025-09-14 19:15:06 +03:00