google-nomulus/javatests/google/registry
guyben 6987d4e55c Add newline after closing boundary in multipart upload of LORDN
According to RFC 2046, the body of the multipart contains:

multipart-body := [preamble CRLF]
                  dash-boundary transport-padding CRLF
                  body-part *encapsulation
                  close-delimiter transport-padding
                  [CRLF epilogue]

The preemble and epilogue are optional, and ignored. However, it's not 100%
explicit whether the CRLFs after the preamble and before the epilogue are
required. The one after the preemble is often not given if there's no preemble,
so it's conceivable that you don't *have* to give the CRLF before the epilogue
if there's no epilogue (it's also enclosed in the [], making it part of the
"optional")

However, it seems that when the TMDB "migrated to the cloud" (as they
describe it) on Aug. 13 2018, they started requiring that CRLF.

TESTED=connected to a TMDB-whitelisted server, used CURL to manually create the
message as we currently send it (without the final CRLF) with junk data and got
the error from the bug. Then sent the exact same message with the additional
CRLF, and got a different error that directly relates to the content of the
junk data.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=212637246
2018-09-14 11:49:12 -04:00
..
backup Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
batch Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
beam Add Spec11 registrar emailing mechanism 2018-09-08 00:06:53 -04:00
bigquery Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
builddefs Format .bzl files with buildifier 2018-07-14 01:37:03 -04:00
config Add octothorpes to disclaimer in exported reserved list 2018-09-08 00:18:19 -04:00
cron Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
dns Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
export Export Premium names to Drive 2018-09-14 11:47:38 -04:00
flows Allow creation of reserved domains using allocation tokens 2018-09-11 14:17:08 -04:00
groups Clean up internal imports in BUILD files 2018-07-14 01:37:03 -04:00
keyring Delete all Braintree code 2018-07-14 01:37:03 -04:00
mapreduce/inputs Clean up internal imports in BUILD files 2018-07-14 01:37:03 -04:00
model Delete all Limited Release Program (LRP) code 2018-08-20 14:28:16 -04:00
module Export Premium names to Drive 2018-09-14 11:47:38 -04:00
monitoring/whitebox Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
pricing Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
proxy Improve SSL initializer tests 2018-08-20 14:04:50 -04:00
rdap RDAP: Add registrar entities to nameserver query results 2018-09-08 00:08:29 -04:00
rde Move the RDE TAR file encoding to a dedicated file 2018-08-10 13:46:48 -04:00
reporting Add Spec11 registrar emailing mechanism 2018-09-08 00:06:53 -04:00
request Rename "absent" to "empty" in test names 2018-08-10 13:46:48 -04:00
security Improve internal build system speed 2018-06-27 15:28:52 -04:00
server Delete all Braintree code 2018-07-14 01:37:03 -04:00
storage/drive Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
testing RDAP: Add registrar entities to nameserver query results 2018-09-08 00:08:29 -04:00
tldconfig/idn Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
tmch Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
tools Default to admin registrar in check_domain commands 2018-09-08 00:19:53 -04:00
ui Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
util Add newline after closing boundary in multipart upload of LORDN 2018-09-14 11:49:12 -04:00
whois Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
xjc Clean up internal imports in BUILD files 2018-07-14 01:37:03 -04:00
xml Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00