resource: Fix handling of very long image file names
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 15 Jan 2018 19:22:14 +0000 (20:22 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 15 Jan 2018 19:22:14 +0000 (20:22 +0100)
commitecaf14514e06321823bdd10235cf23e7d654ba77
tree5df06870d994d326fb75ed03ac43f9e61e29ab3b
parentd4f8f88e67f958b8010f90cb9b9854114e52dac2
resource: Fix handling of very long image file names

Fixes #4261
resource/image.go
resource/image_test.go
resource/testdata/1234567890qwertyuiopasdfghjklzxcvbnm5to6eeeeee7via8eleph.jpg [new file with mode: 0644]
resource/testhelpers_test.go