3410: Fix munge_manifest_locators!: don't skip locators that have no +hints.
authorTom Clegg <tom@curoverse.com>
Sat, 7 Feb 2015 02:36:39 +0000 (21:36 -0500)
committerTom Clegg <tom@curoverse.com>
Wed, 11 Feb 2015 23:47:07 +0000 (18:47 -0500)
commitd302307a4a66867419722034228823d1fc3910a6
treed0726dd0a44847bbc6fa0a053d5f5b1e3a2127c0
parentd62b73382398808a440f15fdda2eea2e15e44282
3410: Fix munge_manifest_locators!: don't skip locators that have no +hints.

Also, fix portable_manifest_text: do not add a trailing + to a locator
that has no size hint.

Portable data hash of ". d41d8cd98f00b204e9800998ecf8427e+Foo 0:0:x\n"
is md5(". d41d8cd98f00b204e9800998ecf8427e 0:0:x\n")
not md5(". d41d8cd98f00b204e9800998ecf8427e+ 0:0:x\n")
services/api/app/models/collection.rb
services/api/test/unit/collection_test.rb