<feed xmlns='http://www.w3.org/2005/Atom'>
<title>skunky-art.git/app/api_test.go, branch v1.3.9</title>
<subtitle>alternative deviantart frontend, no javascript. go.
</subtitle>
<id>http://git.krz.sh/krz/skunky-art.git/atom?h=v1.3.9</id>
<link rel='self' href='http://git.krz.sh/krz/skunky-art.git/atom?h=v1.3.9'/>
<link rel='alternate' type='text/html' href='http://git.krz.sh/krz/skunky-art.git/'/>
<updated>2026-08-07T23:49:04+00:00</updated>
<entry>
<title>fix: correct inverted media guard in sendMedia</title>
<updated>2026-08-07T23:49:04+00:00</updated>
<author>
<name>Christian Cleberg</name>
<email>hello@cleberg.net</email>
</author>
<published>2026-08-07T23:47:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.krz.sh/krz/skunky-art.git/commit/?id=9af155d40accef7aac3ffc6eb960d197798ebd1f'/>
<id>urn:sha1:9af155d40accef7aac3ffc6eb960d197798ebd1f</id>
<content type='text'>
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.
</content>
</entry>
</feed>
