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

Make SQLiteProcessor cope with '/' in column names #52490

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

vroomfondle
Copy link
Contributor

Fixes #52489

This PR provides a fix for the SQLiteProcessor when a column name contains a forward-slash charcter (/). As documented in the issue, this was causing a crash because / is used as a delimiter in regular expressions.

I have added an extra bit of test data to the DatabaseSQLiteProcessorTest testcase - hopefully that's sufficient to show that the fix works.

@taylorotwell taylorotwell merged commit 6f7908f into laravel:11.x Aug 14, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sqlite column processing crashes when column has a "/" in its name
2 participants