question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug in passes_blacklist

See original GitHub issue

Hello! I am running the following query:

SELECT * from eventtype where eventtype.value = 'Grant Date';

I get:

Query failed the SQL blacklist: GRANT

In order for the query to work, I have to do workarounds: SELECT * from legal_eventtype where legal_eventtype.value = concat('G', 'rant Date'); This causes a lot of headaches.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
lawson89commented, Oct 10, 2022

@marksweb Verified this as well. Wonder if instead of a regex based approach, using sqlparse would be better since it is already a dependency of the project? I’d be happy to work on this or fix the current regex problem with blacklisting sql parameters - whichever direction the team prefers

1reaction
lawson89commented, Oct 19, 2022

@marksweb Let me know if you have any questions on this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Box Elder Bugs Facts, Information, & Control - PestWorld.org
Do boxelders bugs bite? Get pest facts and answers for common boxelder bug questions like this one, plus learn about their habitats, habits,...
Read more >
Full Text Bug Listing - Red Hat Bugzilla
Fixed In Version: Doc Type: Bug Fix ... Bug Depends On: ... 0x00000000 ACPI: BIOS passes blacklist Kernel command line: ro pci=noacpi root=LABEL=/...
Read more >
[Bugme-new] [Bug 529] New: ACPI under 2.5.50+ (approx) locks ...
... Next message: [Bugme-new] [Bug 530] New: dma not enabled for IDE hard drives ... 0x00000000 ACPI: BIOS passes blacklist ACPI: MADT not...
Read more >
Linux-kernel mailing list archive 2003-09,: Kernel bug in dcache.h ...
I left my computer unattended, when I got back, the BUG was ... I found bug after 1 day and 2 hours of...
Read more >
USB HCs may have improper interrupt configuration with ACPI ...
This bug is just about ioapic + acpi + usb. ... 22 19:37:02 rousalka kernel: ACPI: BIOS passes blacklist Nov 22 19:37:02 rousalka...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found