Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added TrimStrings middleware #15345

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Added TrimStrings middleware #15345

merged 1 commit into from
Aug 20, 2024

Conversation

snipe
Copy link
Owner

@snipe snipe commented Aug 20, 2024

This properly invokes the TrimStrings middleware so that extra spaces around submitted data will be removed before being saved.

@snipe snipe merged commit d99b306 into develop Aug 20, 2024
7 checks passed
@snipe snipe deleted the add_trim_strings_middleware branch August 20, 2024 10:46
Copy link

what-the-diff bot commented Aug 20, 2024

PR Summary

  • Added New Middleware to Enhance Performance
    In the file app/Http/Kernel.php, we've introduced a fresh middleware, \App\Http\Middleware\TrimStrings. The addition of this middleware leads to better performance by automatically trimming extra space from input strings. This cuts down on unnecessary memory use, increasing the speed and efficiency of our application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant