Skip to content

fix: preg_replace evaluate double backslash for mysql driver and keep… #1488

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hichxm
Copy link

@hichxm hichxm commented Oct 20, 2023

Close #1482

… only one backslash instead of keep both backslash
@barryvdh barryvdh closed this Feb 9, 2024
@barryvdh barryvdh reopened this Feb 9, 2024
@angeljqv
Copy link
Contributor

Also highlightjs does not support mysql/mariadb, postgres sql syntax/some keywords, example

-- escaped quote fails
select cast('text\' test' as char) as `field`; --'  dont work in highlightjs but works here and on other plugins

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

Successfully merging this pull request may close these issues.

Debugbar queries replaced by one backslash instead of two
3 participants