Dimitrios Siganos filed a bug and patch:
We interpret the total file length as a start offset which is wrong. This is easily
solved by not trying to look for the start offset beyond the '/' slash character.
http://curl.haxx.se/mail/lib-2014-06/0221.html
Fixed in commit 0187c9e11d07933, with a different fix than originally suggested.