Fix critical bugs in app_urls

- init_db.py: parameterize SQL queries to prevent SQL injection
- scheduled_tasks.json: resolve duplicate periodic task pk (4 -> 15)
- db_utils.py: use function parameter in _get_status_pattern_matching
  instead of capturing the enclosing scope variable
- url_detail.html: fix wrong field name image_urls -> images_url
- settings.py: align Celery queues (default/light/heavy) with the task
  queues and supervisord workers
- Add /task/publish_<id>/ route to fix broken publish links in templates
This commit is contained in:
Luciano Gervasoni
2026-09-01 15:08:14 -03:00
parent cbc422df36
commit 3a33697ca3
7 changed files with 24 additions and 15 deletions
+1 -1
View File
@@ -246,7 +246,7 @@
</tr>
<tr>
<th>Image URLs</th>
<td>{{ url_content.image_urls|default:"" }}</td>
<td>{{ url_content.images_url|default:"" }}</td>
</tr>
<tr>
<th>Video URLs</th>