comparison OrthancFramework/Sources/HttpServer/HttpOutput.cpp @ 4476:c1f36fd13730

migrate remaining links to issues in bitbucket to mercurial server
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 26 Jan 2021 18:25:52 +0100
parents d9473bd5ed43
children d9942d48fea7
comparison
equal deleted inserted replaced
4475:a24d2126efd2 4476:c1f36fd13730
536 * DICOMweb plugin <= 0.3 (releases >= 0.4 work fine). 536 * DICOMweb plugin <= 0.3 (releases >= 0.4 work fine).
537 * 537 *
538 * Full history is available at the following locations: 538 * Full history is available at the following locations:
539 * - In changeset 2248:69b0f4e8a49b: 539 * - In changeset 2248:69b0f4e8a49b:
540 * # hg history -v -r 2248 540 * # hg history -v -r 2248
541 * - https://bitbucket.org/sjodogne/orthanc/issues/54/ 541 * - https://bugs.orthanc-server.com/show_bug.cgi?id=54
542 * - https://groups.google.com/d/msg/orthanc-users/65zhIM5xbKI/TU5Q1_LhAwAJ 542 * - https://groups.google.com/d/msg/orthanc-users/65zhIM5xbKI/TU5Q1_LhAwAJ
543 **/ 543 **/
544 std::string tmp; 544 std::string tmp;
545 if (contentType.find('/') == std::string::npos) 545 if (contentType.find('/') == std::string::npos)
546 { 546 {
558 /** 558 /**
559 * Fix for issue #165: "Encapsulation boundaries must not appear 559 * Fix for issue #165: "Encapsulation boundaries must not appear
560 * within the encapsulations, and must be no longer than 70 560 * within the encapsulations, and must be no longer than 70
561 * characters, not counting the two leading hyphens." 561 * characters, not counting the two leading hyphens."
562 * https://tools.ietf.org/html/rfc1521 562 * https://tools.ietf.org/html/rfc1521
563 * https://bitbucket.org/sjodogne/orthanc/issues/165/ 563 * https://bugs.orthanc-server.com/show_bug.cgi?id=165
564 **/ 564 **/
565 if (boundary.size() != 36 + 1 + 36) // one UUID contains 36 characters 565 if (boundary.size() != 36 + 1 + 36) // one UUID contains 36 characters
566 { 566 {
567 throw OrthancException(ErrorCode_InternalError); 567 throw OrthancException(ErrorCode_InternalError);
568 } 568 }