comparison OrthancFramework/Sources/HttpServer/MultipartStreamReader.cpp @ 5432:59e3b6f8c5be

migration to UCLouvain servers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 21 Nov 2023 18:16:31 +0100
parents 0ea402b4d901
children 48b8dae6dc77
comparison
equal deleted inserted replaced
5431:4be5f117aa0d 5432:59e3b6f8c5be
382 { 382 {
383 if (boost::iequals("boundary", Toolbox::StripSpaces(items[0]))) 383 if (boost::iequals("boundary", Toolbox::StripSpaces(items[0])))
384 { 384 {
385 boundary = Toolbox::StripSpaces(items[1]); 385 boundary = Toolbox::StripSpaces(items[1]);
386 386
387 // https://bugs.orthanc-server.com/show_bug.cgi?id=190 387 // https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=190
388 RemoveSurroundingQuotes(boundary); 388 RemoveSurroundingQuotes(boundary);
389 389
390 valid = !boundary.empty(); 390 valid = !boundary.empty();
391 } 391 }
392 else if (boost::iequals("type", Toolbox::StripSpaces(items[0]))) 392 else if (boost::iequals("type", Toolbox::StripSpaces(items[0])))
393 { 393 {
394 subType = Toolbox::StripSpaces(items[1]); 394 subType = Toolbox::StripSpaces(items[1]);
395 Toolbox::ToLowerCase(subType); 395 Toolbox::ToLowerCase(subType);
396 396
397 // https://bugs.orthanc-server.com/show_bug.cgi?id=54 397 // https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=54
398 // https://tools.ietf.org/html/rfc7231#section-3.1.1.1 398 // https://tools.ietf.org/html/rfc7231#section-3.1.1.1
399 RemoveSurroundingQuotes(subType); 399 RemoveSurroundingQuotes(subType);
400 } 400 }
401 } 401 }
402 } 402 }