plane/apps
Nikhil 4d17637edf
[WEB-4943] refactor: streamline URL construction in authentication views (#7806)
* refactor: streamline URL construction in authentication views

* Updated MagicSignInSpaceEndpoint and MagicSignUpSpaceEndpoint to directly construct redirect URLs using formatted strings instead of the get_safe_redirect_url function.
* Enhanced get_safe_redirect_url to use quote for safer URL encoding of parameters.

* refactor: enhance URL validation and redirection in authentication views

* Added validate_next_path function to improve the safety of redirect URLs in MagicSignInSpaceEndpoint and MagicSignUpSpaceEndpoint.
* Updated URL construction to ensure proper handling of next_path and base_url.
* Streamlined the get_safe_redirect_url function for better parameter encoding.

* refactor: unify URL redirection logic across authentication views

* Introduced validate_next_path function to enhance URL safety in SignInAuthSpaceEndpoint, SignUpAuthSpaceEndpoint, GitHubCallbackSpaceEndpoint, GitLabCallbackSpaceEndpoint, and GoogleCallbackSpaceEndpoint.
* Updated URL construction to directly format the redirect URL, improving clarity and consistency across multiple authentication views.
2025-09-16 18:44:26 +05:30
..
admin [WEB-4840] chore: icon migration from @plane/ui to @plane/propel/icons (#7721) 2025-09-04 14:44:53 +05:30
api [WEB-4943] refactor: streamline URL construction in authentication views (#7806) 2025-09-16 18:44:26 +05:30
live [WEB-4810] feat: migrate to tsdown from tsup (#7679) 2025-09-03 14:01:57 +05:30
proxy [INFRA-219] fix: update Dockerfile and docker-compose for proxy service (#7523) 2025-07-31 13:27:34 +05:30
space Potential fix for code scanning alert no. 646: Server-side request forgery (#7758) 2025-09-10 14:42:46 +05:30
web [WEB-4898] fix: extended sidebar toggle #7797 2025-09-16 15:35:31 +05:30