summaryrefslogtreecommitdiff
path: root/static/html/deviantion.htm
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-07 18:47:01 -0500
committerChristian Cleberg <[email protected]>2026-08-07 18:49:04 -0500
commit9af155d40accef7aac3ffc6eb960d197798ebd1f (patch)
tree05f97782b9cd88a0b7761b86fa4008dd9a43b2a7 /static/html/deviantion.htm
parentee9fc6db38dbbee7418f8a3be2ce25eaa76f90ec (diff)
downloadskunky-art-9af155d40accef7aac3ffc6eb960d197798ebd1f.tar.gz
skunky-art-9af155d40accef7aac3ffc6eb960d197798ebd1f.tar.bz2
skunky-art-9af155d40accef7aac3ffc6eb960d197798ebd1f.zip
fix: correct inverted media guard in sendMediaHEADv1.3.9main
sendMedia returned when the assembled URL was non-empty — i.e. for every deviation that actually has media — so the random-media endpoint served an empty body and never sent the image. For a media-less deviation it instead fell through to mediaURL[21:] on an empty string, panicking in proxy mode. Guard on len == 0 so real media is sent and absent media is a no-op.
Diffstat (limited to 'static/html/deviantion.htm')
0 files changed, 0 insertions, 0 deletions