opnform-host-nginx/api/tests/Unit
Chirag Chhatrala ea4cd85eae
Enhance redirect URL handling and MentionParser functionality (#639)
- Updated the `redirect_url` validation in `UserFormRequest` to accept strings instead of just max length.
- Modified `MentionParser` to include a `urlFriendlyOutput` method, allowing for URL encoding of special characters in parsed values.
- Adjusted the `PublicFormController` to utilize the new `urlFriendlyOutput` method for redirect URLs.
- Created a migration to change the `redirect_url` field type in the database from string to text, accommodating longer URLs.
- Added tests to ensure proper handling of long redirect URLs and the functionality of the new URL-friendly output feature in `MentionParser`.

This update improves the flexibility and robustness of form handling and URL processing.
2024-12-10 12:26:01 +01:00
..
Rules Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
Service Enhance redirect URL handling and MentionParser functionality (#639) 2024-12-10 12:26:01 +01:00
EmailNotificationMigrationTest.php Apply Mentions everywhere (#595) 2024-10-22 10:34:29 +02:00
TestHelpersTest.php Form editor v2 (#579) 2024-09-23 20:02:38 +02:00