0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 07:13:02 -05:00
forgejo/modules/util
Rowan Bohde 2e00ae4cdd
Validate OAuth Redirect URIs (#32643)
This fixes a TODO in the code to validate the RedirectURIs when adding
or editing an OAuth application in user settings.

This also includes a refactor of the user settings tests to only create
the DB once per top-level test to avoid reloading fixtures.

(cherry picked from commit 16a7d343d78807e39df124756e5d43a69a2203a3)

Conflicts:
	services/forms/user_form.go
	tests/integration/user_settings_test.go
  simple conflicts
2024-12-03 10:19:22 +01:00
..
filebuffer Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
rotatingfilewriter Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
color.go [PORT] gitea##30237: Fix and rewrite contrast color calculation, fix project-related bugs 2024-04-15 16:11:34 +02:00
color_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
error.go
file_unix.go
file_unix_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
io.go
io_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
keypair.go Enable unparam linter (#31277) 2024-06-16 13:42:58 +02:00
keypair_test.go test: fix test linting 2024-11-11 12:44:36 +01:00
legacy.go
legacy_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
pack.go
pack_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
paginate.go
paginate_test.go
path.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
path_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
remove.go
sanitize.go Refactor to use UnsafeStringToBytes (#31358) 2024-06-16 13:42:58 +02:00
sanitize_test.go
sec_to_time.go
sec_to_time_test.go
shellquote.go
shellquote_test.go
slice.go Performance improvements for pull request list page (#29900) 2024-03-26 19:04:26 +01:00
slice_test.go
string.go Refactor to use UnsafeStringToBytes (#31358) 2024-06-16 13:42:58 +02:00
string_test.go
timer.go
timer_test.go
truncate.go Validate OAuth Redirect URIs (#32643) 2024-12-03 10:19:22 +01:00
truncate_test.go
url.go
util.go [PORT] Refactor tests to prevent from unnecessary preparations (gitea#32398) 2024-11-07 23:02:10 +01:00
util_test.go [PORT] Refactor tests to prevent from unnecessary preparations (gitea#32398) 2024-11-07 23:02:10 +01:00