You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Git and Swagger icons in the footer load fine for me, but cause errors when trying to access the "Static Files" tab in Django Debug Toolbar:
django.core.exceptions.SuspiciousFileOperation: The joined path (/img/Swagger-logo.png) is located outside of the base path component (/PATH_TO_VENV/lib/python3.11/site-packages/apis_override_select2js/static)
The toolbar only shows a non-descript "400: Bad Request" message.
(following the pattern by which other static files are referenced) seems to solve the issue.
The text was updated successfully, but these errors were encountered:
koeaw
added
bug
Something isn't working (properly, as expected, at all)
assets
Static files, components defining or contributing to appearance
labels
Nov 12, 2024
The Git and Swagger icons in the footer load fine for me, but cause errors when trying to access the "Static Files" tab in Django Debug Toolbar:
The toolbar only shows a non-descript "400: Bad Request" message.
Removing the leading slashes in the image paths:
apis-core-rdf/apis_core/core/templates/partials/footer-left.html
Lines 10 to 19 in ed7c1d2
(following the pattern by which other static files are referenced) seems to solve the issue.
The text was updated successfully, but these errors were encountered: