google-nomulus/java/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 Use locking on async mapreduces 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 Remove the deprecated, now no-op, "data" transition 2018-08-10 13:44:25 -04:00
config Export Premium names to Drive 2018-09-14 11:47:38 -04:00
cron Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
dns Add feature to disable --experimental_java_proto_library_enforce_strict_deps for 2018-08-10 13:44:25 -04:00
env Export Premium names to Drive 2018-09-14 11:47:38 -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
gcs Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
groups Refactor DelegatedCredential provisioning for GSuite domains 2018-09-11 14:18:41 -04:00
idn Update IDN tables to comply with https://www.iana.org/help/idn-repository-procedure 2018-02-01 21:59:14 -05:00
keyring Introduce simplified Default credential provision 2018-09-08 00:16:09 -04:00
loadtest Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
mapreduce Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
model Export Premium names to Drive 2018-09-14 11:47:38 -04:00
module Export Premium names to Drive 2018-09-14 11:47:38 -04:00
monitoring/whitebox Switch to new Json credential provisioning 2018-09-08 00:21:22 -04:00
pricing Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
proxy Update max pod number to 10 2018-09-07 23:59:39 -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 Refactor DelegatedCredential provisioning for GSuite domains 2018-09-11 14:18:41 -04:00
security Improve internal build system speed 2018-06-27 15:28:52 -04:00
storage/drive Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
tldconfig/idn Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
tmch Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
tools Default to admin registrar in check_domain commands 2018-09-08 00:19:53 -04:00
ui Update Nomulus to build with bazel 0.16.0 2018-08-10 13:46:48 -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 Run bazel installer as a argument to bash 2018-08-10 13:44:25 -04:00
xml Pretty-print actual XML in tests 2018-07-14 01:37:03 -04:00
BUILD Remove most HTML/CSS/JS assets from the backend service WAR 2018-06-27 15:28:53 -04:00
repositories.bzl Remove references to stale domain-registry GCS repo 2018-08-10 16:01:51 -04:00