opnform-host-nginx/api/app/Http/Controllers/Forms
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
..
Integration Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
AiFormController.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
FormController.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
FormStatsController.php Fix form stats 2024-09-30 15:13:40 +02:00
FormSubmissionController.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
PublicFormController.php Enhance redirect URL handling and MentionParser functionality (#639) 2024-12-10 12:26:01 +01:00
RecordController.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
TemplateController.php Form Templates for self hosted (#546) 2024-08-29 11:08:09 +02:00