SQL error for image with special character
I maintainer di solito rispondono entro 5 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Reproduce the issue using the rocket-test-data folder under wp-content, Imagify settings, and an image whose path contains a special character; then inspect debug.log and the reported SELECT query. Done means the image is processed without a SQL syntax error and no corresponding database error appears in debug.log.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Before submitting an issue please check that you’ve completed the following steps:
- Made sure you’re on the latest version => 2.2.4
- Used the search feature to ensure that the bug hasn’t been reported before
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Add rocket-test-data folder in wp-content
- Upload some images
- Install and activate imagify
- Active theme (2025) and add rocket-test-data/images in settings of imagify and save /gotobulk
- Imagify all
- Check the debug.log and you'll see the error
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high\\'.jpg','{{CONTENT}}/rocket-test-data/images/600px-Mapang-test.gif','{{CONT' at line 1 for query SELECT file_id, folder_id, path, optimization_level, status FROM wp_imagify_files WHERE path IN (
Expected behavior
There shouldn't be any error, image with special character should be process and no error in the debug.log
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
https://wp-media.slack.com/archives/CU0F6EGQ1/p1737720196336289
Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming
- Lingua principale
- PHP
- Stelle
- 82
- Fork
- 31
- Merge medio
- 5g 8h
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di wp-media/imagify-plugin
-
Add MCP option to SettingsApertatype: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
wp-media/imagify-plugin#1274 ·
I maintainer di solito rispondono entro 5 giorni
-
sanitizeContext() sanitizes nothing: a string literal is passed to .replace() instead of a RegExpApertapriority: low severity: minor type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
wp-media/imagify-plugin#1263 ·
I maintainer di solito rispondono entro 5 giorni
-
feature request optimization type: new feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
wp-media/imagify-plugin#1301 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 62/100
wp-media/imagify-plugin#1290 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
wp-media/imagify-plugin#1272 ·
I maintainer di solito rispondono entro 5 giorni
Tutte le issue di wp-media/imagify-plugin
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
0. Needs triage 36-feedback bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
area:ci priority:low type:chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
crazy-goat/php-fpm-ng#1021 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ProfessionalWiki/NeoWiki#1755 ·
I maintainer di solito rispondono entro 1 giorno