Menu

#55 Change Content Type for attachment

v1.0 (example)
open
nobody
None
5
2019-07-22
2019-07-15
Heiko Mück
No

Hi chip,
first of all many thanks for the adjustments that you made for us in blat by now. This is all perfect.

We have used your adjustment to change the content-disposition now for a long time, but now we are forced for another application to change the content-type from application/xml to application/fhir+xml.

Is this allready possible with blat?

To change the content-disposition we use this notation:
-attach "c:\temp\test.xml<eab-xml>"</eab-xml>

But I have no idea how to change the content-type.

I use this command line to create the message without the changed content-type:
"C:\QMED\Programme\blat\blat.exe" -q -to "xxx@kv-safenet.de" -server localhost -port 25 -u xxx -pw xxxxx -f "qmed.praxis.test.Ref_eins@kv-safenet.de" -log C:\QMED\DATEN\1click\blat\ets_15072019_095342.log -s "eTS;Vermittlungscode-Anforderung-Muster06;V2.0" -attach "C:\QMED\Daten\Profiles\27\temp\Vermittlungscode-Anforderung-Muster06.xml" -x "X-KVC-Dienstkennung: eTS;Vermittlungscode-Anforderung-Muster06;V2.0" -x "X-KVC-Sendersystem: Q-MED;291.0" -superdebugT -body "Body"

The created message looks like this:
--=_BlatBoundary-uJ4XrZxT33JACL73nTMvU
Content-Type: application/xml;
name="Vermittlungscode-Anforderung-Muster06.xml"
Content-Transfer-Encoding: BASE64
Content-Disposition: ATTACHMENT;
filename="Vermittlungscode-Anforderung-Muster06.xml"

But the header has to be:
--=_BlatBoundary-uJ4XrZxT33JACL73nTMvU
Content-Type: application/fhir+xml;
name="Vermittlungscode-Anforderung-Muster06.xml"
Content-Transfer-Encoding: BASE64
Content-Disposition: ATTACHMENT;
filename="Vermittlungscode-Anforderung-Muster06.xml"

Thanks for your support.

Heiko Mück

Discussion

  • Heiko Mück

    Heiko Mück - 2019-07-15

    Hi Chip,
    I have to correct my last post. Last year we talked about this problem in another ticket. I forget it.
    In this ticket you told me, that I could change in HKEY_CLASSES_ROOT the content-type.
    If I delete this value, I can use the -content-type option for all attachments.

    Would it be possible, to use -content-type also if a value is specified in HKEY_CLASSES_ROOT.
    It would be very much work to change it in lot of systems.

    Thanks
    Heiko

     
  • Heiko Mück

    Heiko Mück - 2019-07-15

    Hi Chip,
    I have talked in the meantime with the institution where we have to send the message to.
    They say, that we had to change the Content-Type from

    Content-Type: application/xml; name="Vermittlungscode-Anforderung-Muster6.xml"

    to:

    Content-Type: application/xml; charset="utf.8"; name="Vermittlungscode-Anforderung-Muster6.xml"

    That means: we have to transfer a charset for the attachment. Is that allready possible with blat?

    And another question:
    I would like to send the message without a readable body. If I do not use the -body option, I can not send the message, because blat is waiting for an input.
    Is it possible to send without standard body?

    Greetings

    Heiko Mück

     
  • Chip

    Chip - 2019-07-15

    Good day, Heiko.

    Have you tried sending your message with the .xml file, and using -charset "utf-8" ? I am looking at the source where I am building the headers, and see that I add charset: to the Content-Type: header.

    As for sending a message without a body, have you tried -body "", or using -bodyF <somefile> where the file is zero bytes length?</somefile>

    I can check both of these issues tonight.

    Chip

     
  • Heiko Mück

    Heiko Mück - 2019-07-15

    Hello Chip,

    the last try was this:
    "C:\QMED\Programme\blat\blat.exe" -q -to "xxx" -server localhost -port 25 -u qmed.praxis.test.Ref_eins -pw xxx -f "xxx" -log C:\QMED\DATEN\1click\blat\ets_15072019_172508.log -s "eTS;Vermittlungscode-Anforderung-Muster06;V2.0" -attach "C:\QMED\Daten\Profiles\27\temp\Vermittlungscode-Anforderung-Muster06.xml" -x "X-KVC-Dienstkennung: eTS;Vermittlungscode-Anforderung-Muster06;V2.0" -x "X-KVC-Sendersystem: Q-MED;291.0" -superdebugT -force8bit -charset "utf-8" -body "Body"

    That was the interesting part of the log:
    This is a multi-part message in MIME format.
    --=_BlatBoundary-x5DBiNnl3cOQ3hMjWRZjh
    Content-Transfer-Encoding: 8BIT
    Content-Type: text/plain;
    charset="UTF-8"

    Body
    --=_BlatBoundary-x5DBiNnl3cOQ3hMjWRZjh
    Content-Type: application/fhir+xml;
    name="Vermittlungscode-Anforderung-Muster06.xml"

    Content-Transfer-Encoding: BASE64
    Content-Disposition: ATTACHMENT;
    filename="Vermittlungscode-Anforderung-Muster06.xml"
    PEJ1bmRsZSB4bWxucz0iaHR0cDovL2hsNy5vcmcvZmhpciI+DQoJPGlkIHZhbHVlPSJkNzUzNDcz
    Yy0zNGYyLTQ1NzYtYTRlOC1lNzRlNTU1ZWYxNGUiLz4NCgk8bWV0YT4NCgkJPHByb2ZpbGUgdmFs

    The charset and the content-transfer-encoding of the body changed, but not the content-typ for the xml-document.

    It has to look the following way:
    Content-Type: application/fhir+xml; charset="utf-8";
    name="Vermittlungscode-Anforderung-Muster06.xml"

    If there is no other way, it would be nice to specify the charset for every single attachment.

    You made a option for me, to specify the content-disposition for every single attachment, the expression is -attach "c:\temp\test.xml<content-disp>.". Maybe we could use something like "c:\temp\test.xml[charset]" or "c:\temp\test.xml[*Content-Type: application/fhir+xml; charset="utf-8";
    name="Vermittlungscode-Anforderung-Muster06.xml]
    </content-disp>

    Or do you have another idea?

    The problem with the body seems not so important after my correspndence with the insitution, I can specify anything there without any problems. So you can forget that question.

    Hava a nice day

    Heiko

     
  • Chip

    Chip - 2019-07-16

    I am looking at the source, thinking I may need to make some changes. However, your above options tell Blat to send a binary attachment, which means that I cannot determine the character set, nor should I specify the character set for binary files. Text and inline attachments can have the character set noted. Embedded attachments treated almost the same as binary files.

    Try your experiment again but use -attachT option. The letter T can be uppercase or lowercase, I made it big here only for reading.

    Chip

     

    Last edit: Chip 2019-07-16
  • Heiko Mück

    Heiko Mück - 2019-07-17

    Hi Chip,
    that doesn't work for my use-case. By using -attacht nothing else fits except for the charset. You can see it in the example:

    Content-Type: text/plain;
    name="Vermittlungscode-Anforderung-Muster06.xml";
    charset="UTF-8"
    Content-Transfer-Encoding: 7BIT
    Content-Disposition: ATTACHMENT;
    filename="Vermittlungscode-Anforderung-Muster06.xml"
    Content-Description: "Vermittlungscode-Anforderung-Muster06.xml"

    I need:
    Content-Type: application/fhir+xml; charset="utf-8"; charset="utf-8";
    name="Vermittlungscode-Anforderung-Muster06.xml"
    Content-Transfer-Encoding: BASE64
    Content-Disposition: ATTACHMENT;
    filename="Vermittlungscode-Anforderung-Muster06.xml"
    PEJ1bmRsZSB4bWxucz0iaHR0cDovL2hsNy5vcmcvZmhpciI+DQoJPGlkIHZhbHVlPSJkNzUzNDcz
    Yy0zNGYyLTQ1NzYtYTRlOC1lNzRlNTU1ZWYxNGUiLz4NCgk8bWV0YT4NCgkJPHByb2ZpbGUgdmFs

    The problem is, that the parameters must exactly look the way I showed you in the example.
    The only problem in the -attach version is, that
    Content-Type: application/fhir+xml; charset="utf-8"; charset="utf-8";
    name="Vermittlungscode-Anforderung-Muster06.xml" is missing. Everything else fits perfect.

    Do you have any idea? Or would it be possible to make something like this?
    "c:\temp\test.xml[charset]" or "c:\temp\test.xml[*Content-Type: application/fhir+xml; charset="utf-8";
    name="Vermittlungscode-Anforderung-Muster06.xml]

    Greetings Heiko

     
  • Chip

    Chip - 2019-07-17

    Thank you for that, Heiko.

    I think I found an issue with text attachments when I tested yesterday morning, so I will be looking at attachment processing to improve it. I will also look at what I can do to support adding charset to the Content-Type for binary files.

    I have a question for you regarding your files. Do your files include a UTF-8 or Unicode byte order marker (BOM) at the start of the files? This would most accurately tell the reader of your files that Unicode characters are encoded within.

    If you were to get a hex dump of blat's log files, you should find a BOM in the first bytes of the log.

    Chip

     
  • Heiko Mück

    Heiko Mück - 2019-07-17

    Hi Chip,

    this is an example with superdebug:

    2019.07.17 19:25:44 (Wed)------------Start of Session-----------------
    Blat v3.2.20 (build : May 22 2018 10:01:17)
    32-bit Windows, Full, Unicode
    superDebug: init_winsock(), WSAStartup() returned 0 (NO_ERROR)
    superDebug: Hostname <localhost> resolved to ip address 127.0.0.1
    superDebug: Official hostname is HEIKO-WIN7
    superDebug: Attempting to connect to ip address 127.0.0.1, on port 25
    superDebug: Received 36 bytes:
    superDebug: 00000 32 32 30 20 53 4D 54 50 20 73 65 72 76 65 72 20 220 SMTP server
    superDebug: 00010 28 4B 56 2D 43 6F 6E 6E 65 63 74 29 20 72 65 61 (KV-Connect) rea
    superDebug: 00020 64 79 0D 0A dy..
    <<<getline<<< 220 SMTP server (KV-Connect) ready
    superDebug: Attempting to send 17 bytes:
    superDebug: 00000 45 48 4C 4F 20 68 65 69 6B 6F 2D 77 69 6E 37 0D EHLO heiko-win7.
    superDebug: 00010 0A . </localhost>

    putline>>> EHLO heiko-win7
    superDebug: Received 30 bytes:
    superDebug: 00000 32 35 30 2D 4F 4B 0D 0A 32 35 30 20 41 55 54 48 250-OK..250 AUTH
    superDebug: 00010 20 4C 4F 47 49 4E 20 50 4C 41 49 4E 0D 0A LOGIN PLAIN..
    <<<getline<<< 56="" ets;vermittlungscode-anforderung-muster06;v2.0="" eterminservice.test@kv-safenet.de="" 7a="" file:="" is="" 45="" 62="" 63="" 65="" 68="" 250="" wquchjheglzlnrlc="" qmed.praxis.test.ref_eins@kv-safenet.de="" binary="" 00020="" 20="" 48="" attempting="" 46="" 47="" 44="" 3quumvmx2vpbnmam="" 0a="" stdin.txt="" send="" 41="" to="" <<<getline<<<="" 79="" 00010="" 31="" 00030="" 5a="" 51="" 6a="" 6c="" 6d="" 6e="" 78="" bytes:="" 33="" dywnjewnzuxtwllc="" auth="" 77="" 4d="" 75="" 74="" 73="" 70="" ahftz="" 250-ok="" 32="" 58="" <br="" sending="" e1pzxay..="" 59="" name="" c:\\qmed\\daten\\profiles\\27\\temp\\vermittlungscode-anforderung-muster06.xml="" 55="" plain="" 57="" 49="" attached="" 50="" 52="" subject:="" superdebug:="" 00000="" 0d="" 54="" 00040="" login="" 4e="" 4c="" 4a="">putline>>> AUTH PLAIN *
    superDebug: Received 30 bytes:
    superDebug: 00000 32 33 35 20 41 75 74 68 65 6E 74 69 63 61 74 69 235 Authenticati
    superDebug: 00010 6F 6E 20 53 75 63 63 65 65 64 65 64 0D 0A on Succeeded..
    <<<getline<<< from:<qmed.="" 61="" praxis.test.ref_="" 64="" 65="" 66="" 67="" 235="" 20="" 49="" 46="" 44="" 42="" send="" 41="" to="" authentication="" 00020="" 00010="" 3c="" mail="" 3a="" 5f="" 00030="" 3e="" 3d="" 6b="" 6d="" 6e="" bytes:="" de="" 76="" 74="" 73="" 72="" 71="" 70="" eins@kv-safenet.="" 69="" 78="" 38="" 59="" succeeded="" 40="" 54="" attempting="" 52="" 2d="" 2e="" superdebug:="" 00000="" 4f="" 4d="" 4c=""> BODY=8BITMIM
    superDebug: 00040 45 0D 0A E..
    putline>>> MAIL FROM:qmed.praxis.test.Ref_eins@kv-safenet.de BODY=8BITMIME
    superDebug: Received 8 bytes:
    superDebug: 00000 32 35 30 20 4F 4B 0D 0A 250 OK..
    <<<getline<<< 61="" 63="" 64="" 65="" 66="" 69="" 250="" 20="" attempting="" 45="" 0a="" 43="" send="" to="" 00020="" 00010="" 3c="" 3a="" rcpt="" 3e="" safenet.de="" 6b="" 6d="" 6e="" bytes:="" service.test@kv-="" 76="" 74="" 73="" 72="" to:<etermin="" ok="" 40="" 54="" 50="" 52="" 2d="" 2e="" superdebug:="" 00000="" 0d="" 4f="">..
    putline>>> RCPT TO:eTerminservice.test@kv-safenet.de
    superDebug: Received 8 bytes:
    superDebug: 00000 32 35 30 20 4F 4B 0D 0A 250 OK..
    <<<getline<<< ok="" attempting="" 54="" 44="" bytes:="" 0a="" send="" 41="" to="" superdebug:="" 00000="" 0d="" 6="" 250="" <br="" data..="">putline>>> DATA
    superDebug: Received 44 bytes:
    superDebug: 00000 33 35 34 20 4F 6B 20 53 65 6E 64 20 64 61 74 61 354 Ok Send data
    superDebug: 00010 20 65 6E 64 69 6E 67 20 77 69 74 68 20 3C 43 52 ending with <cr lf="" 00020="" 0a="" 46="" 43="" 52="" 2e="" superdebug:="" 0d="" 3c="" 4c="" 3e="">.<crlf>..
    <<<getline<<< ok="" data="" send="" ending="" 354="" <crlf="" with="">.<crlf>
    superDebug: Attempting to send 4705 bytes:
    superDebug: 00000 44 61 74 65 3A 20 57 65 64 2C 20 31 37 20 4A 75 Date: Wed, 17 Ju
    superDebug: 00010 6C 20 32 30 31 39 20 31 39 3A 32 35 3A 34 34 20 l 2019 19:25:44
    superDebug: 00020 2B 30 32 30 30 0D 0A 46 72 6F 6D 3A 20 71 6D 65 +0200..From: qme
    superDebug: 00030 64 2E 70 72 61 78 69 73 2E 74 65 73 74 2E 52 65 d.praxis.test.Re
    superDebug: 00040 66 5F 65 69 6E 73 40 6B 76 2D 73 61 66 65 6E 65 f_eins@kv-safene
    superDebug: 00050 74 2E 64 65 0D 0A 54 6F 3A 20 65 54 65 72 6D 69 t.de..To: eTermi
    superDebug: 00060 6E 73 65 72 76 69 63 65 2E 74 65 73 74 40 6B 76 nservice.test@kv
    superDebug: 00070 2D 73 61 66 65 6E 65 74 2E 64 65 0D 0A 58 2D 4B -safenet.de..X-K
    superDebug: 00080 56 43 2D 44 69 65 6E 73 74 6B 65 6E 6E 75 6E 67 VC-Dienstkennung
    superDebug: 00090 3A 20 65 54 53 3B 56 65 72 6D 69 74 74 6C 75 6E : eTS;Vermittlun
    superDebug: 000A0 67 73 63 6F 64 65 2D 41 6E 66 6F 72 64 65 72 75 gscode-Anforderu
    superDebug: 000B0 6E 67 2D 4D 75 73 74 65 72 30 36 3B 56 32 2E 30 ng-Muster06;V2.0
    superDebug: 000C0 0D 0A 58 2D 4B 56 43 2D 53 65 6E 64 65 72 73 79 ..X-KVC-Sendersy
    superDebug: 000D0 73 74 65 6D 3A 20 51 2D 4D 45 44 3B 32 39 31 2E stem: Q-MED;291.
    superDebug: 000E0 30 0D 0A 58 2D 4D 61 69 6C 65 72 3A 20 42 6C 61 0..X-Mailer: Bla
    superDebug: 000F0 74 20 76 33 2E 32 2E 32 30 2C 20 61 20 57 69 6E t v3.2.20, a Win
    superDebug: 00100 33 32 20 53 4D 54 50 2F 4E 4E 54 50 20 6D 61 69 32 SMTP/NNTP mai
    superDebug: 00110 6C 65 72 20 68 74 74 70 3A 2F 2F 77 77 77 2E 62 ler http://www.b
    superDebug: 00120 6C 61 74 2E 6E 65 74 0D 0A 4D 65 73 73 61 67 65 lat.net..Message
    superDebug: 00130 2D 49 44 3A 20 3C 30 31 64 35 33 63 63 34 24 42 -ID: <01d53cc4$B
    superDebug: 00140 6C 61 74 2E 76 33 2E 32 2E 32 30 24 61 61 36 37 lat.v3.2.20$aa67
    superDebug: 00150 34 39 39 30 24 66 62 30 35 62 35 36 37 34 65 40 4990$fb05b5674e@
    superDebug: 00160 6C 6F 63 61 6C 68 6F 73 74 3E 0D 0A 53 75 62 6A localhost>..Subj
    superDebug: 00170 65 63 74 3A 20 65 54 53 3B 56 65 72 6D 69 74 74 ect: eTS;Vermitt
    superDebug: 00180 6C 75 6E 67 73 63 6F 64 65 2D 41 6E 66 6F 72 64 lungscode-Anford
    superDebug: 00190 65 72 75 6E 67 2D 4D 75 73 74 65 72 30 36 3B 56 erung-Muster06;V
    superDebug: 001A0 32 2E 30 0D 0A 4D 49 4D 45 2D 56 65 72 73 69 6F 2.0..MIME-Versio
    superDebug: 001B0 6E 3A 20 31 2E 30 0D 0A 43 6F 6E 74 65 6E 74 2D n: 1.0..Content-
    superDebug: 001C0 54 79 70 65 3A 20 6D 75 6C 74 69 70 61 72 74 2F Type: multipart/
    superDebug: 001D0 6D 69 78 65 64 3B 0D 0A 20 62 6F 75 6E 64 61 72 mixed;.. boundar
    superDebug: 001E0 79 3D 22 3D 5F 42 6C 61 74 42 6F 75 6E 64 61 72 y="=BlatBoundar
    superDebug: 001F0 79 2D 77 65 41 4E 73 57 37 4F 56 68 34 39 35 68 y-weANsW7OVh495h
    superDebug: 00200 6C 50 72 45 31 4A 5A 22 0D 0A 0D 0A 54 68 69 73 lPrE1JZ"....This
    superDebug: 00210 20 69 73 20 61 20 6D 75 6C 74 69 2D 70 61 72 74 is a multi-part
    superDebug: 00220 20 6D 65 73 73 61 67 65 20 69 6E 20 4D 49 4D 45 message in MIME
    superDebug: 00230 20 66 6F 72 6D 61 74 2E 0D 0A 0D 0A 2D 2D 3D 5F format.....--=

    superDebug: 00240 42 6C 61 74 42 6F 75 6E 64 61 72 79 2D 77 65 41 BlatBoundary-weA
    superDebug: 00250 4E 73 57 37 4F 56 68 34 39 35 68 6C 50 72 45 31 NsW7OVh495hlPrE1
    superDebug: 00260 4A 5A 0D 0A 43 6F 6E 74 65 6E 74 2D 54 72 61 6E JZ..Content-Tran
    superDebug: 00270 73 66 65 72 2D 45 6E 63 6F 64 69 6E 67 3A 20 38 sfer-Encoding: 8
    superDebug: 00280 42 49 54 0D 0A 43 6F 6E 74 65 6E 74 2D 54 79 70 BIT..Content-Typ
    superDebug: 00290 65 3A 20 74 65 78 74 2F 70 6C 61 69 6E 3B 0D 0A e: text/plain;..
    superDebug: 002A0 20 63 68 61 72 73 65 74 3D 22 55 54 46 2D 38 22 charset="UTF-8"
    superDebug: 002B0 0D 0A 0D 0A 42 6F 64 79 0D 0A 0D 0A 2D 2D 3D 5F ....Body....--=_
    superDebug: 002C0 42 6C 61 74 42 6F 75 6E 64 61 72 79 2D 77 65 41 BlatBoundary-weA
    superDebug: 002D0 4E 73 57 37 4F 56 68 34 39 35 68 6C 50 72 45 31 NsW7OVh495hlPrE1
    superDebug: 002E0 4A 5A 0D 0A 43 6F 6E 74 65 6E 74 2D 54 79 70 65 JZ..Content-Type
    superDebug: 002F0 3A 20 61 70 70 6C 69 63 61 74 69 6F 6E 2F 66 68 : application/fh
    superDebug: 00300 69 72 2B 78 6D 6C 3B 0D 0A 20 6E 61 6D 65 3D 22 ir+xml;.. name="
    superDebug: 00310 56 65 72 6D 69 74 74 6C 75 6E 67 73 63 6F 64 65 Vermittlungscode
    superDebug: 00320 2D 41 6E 66 6F 72 64 65 72 75 6E 67 2D 4D 75 73 -Anforderung-Mus
    superDebug: 00330 74 65 72 30 36 2E 78 6D 6C 22 0D 0A 43 6F 6E 74 ter06.xml"..Cont
    superDebug: 00340 65 6E 74 2D 54 72 61 6E 73 66 65 72 2D 45 6E 63 ent-Transfer-Enc
    superDebug: 00350 6F 64 69 6E 67 3A 20 42 41 53 45 36 34 0D 0A 43 oding: BASE64..C
    superDebug: 00360 6F 6E 74 65 6E 74 2D 44 69 73 70 6F 73 69 74 69 ontent-Dispositi
    superDebug: 00370 6F 6E 3A 20 41 54 54 41 43 48 4D 45 4E 54 3B 0D on: ATTACHMENT;.
    superDebug: 00380 0A 20 66 69 6C 65 6E 61 6D 65 3D 22 56 65 72 6D . filename="Verm
    superDebug: 00390 69 74 74 6C 75 6E 67 73 63 6F 64 65 2D 41 6E 66 ittlungscode-Anf
    superDebug: 003A0 6F 72 64 65 72 75 6E 67 2D 4D 75 73 74 65 72 30 orderung-Muster0
    superDebug: 003B0 36 2E 78 6D 6C 22 0D 0A 0D 0A 50 45 4A 31 62 6D 6.xml"....PEJ1bm
    superDebug: 003C0 52 73 5A 53 42 34 62 57 78 75 63 7A 30 69 61 48 RsZSB4bWxucz0iaH
    superDebug: 003D0 52 30 63 44 6F 76 4C 32 68 73 4E 79 35 76 63 6D R0cDovL2hsNy5vcm
    superDebug: 003E0 63 76 5A 6D 68 70 63 69 49 2B 44 51 6F 4A 50 47 cvZmhpciI+DQoJPG
    superDebug: 003F0 6C 6B 49 48 5A 68 62 48 56 6C 50 53 4A 6B 4E 7A lkIHZhbHVlPSJkNz
    superDebug: 00400 55 7A 4E 44 63 7A 0D 0A 59 79 30 7A 4E 47 59 79 UzNDcz..Yy0zNGYy
    superDebug: 00410 4C 54 51 31 4E 7A 59 74 59 54 52 6C 4F 43 31 6C LTQ1NzYtYTRlOC1l
    superDebug: 00420 4E 7A 52 6C 4E 54 55 31 5A 57 59 78 4E 47 55 69 NzRlNTU1ZWYxNGUi
    superDebug: 00430 4C 7A 34 4E 43 67 6B 38 62 57 56 30 59 54 34 4E Lz4NCgk8bWV0YT4N
    superDebug: 00440 43 67 6B 4A 50 48 42 79 62 32 5A 70 62 47 55 67 CgkJPHByb2ZpbGUg
    superDebug: 00450 64 6D 46 73 0D 0A 64 57 55 39 49 6D 68 30 64 48 dmFs..dWU9Imh0dH
    superDebug: 00460 42 7A 4F 69 38 76 5A 6D 68 70 63 69 35 72 59 6E BzOi8vZmhpci5rYn
    superDebug: 00470 59 75 5A 47 55 76 55 33 52 79 64 57 4E 30 64 58 YuZGUvU3RydWN0dX
    superDebug: 00480 4A 6C 52 47 56 6D 61 57 35 70 64 47 6C 76 62 69 JlRGVmaW5pdGlvbi
    superDebug: 00490 38 33 4E 46 39 51 55 6C 39 46 56 46 4E 66 51 6E 83NF9QUl9FVFNfQn
    superDebug: 004A0 56 75 0D 0A 5A 47 78 6C 49 69 38 2B 44 51 6F 4A Vu..ZGxlIi8+DQoJ
    superDebug: 004B0 50 43 39 74 5A 58 52 68 50 67 30 4B 43 54 78 30 PC9tZXRhPg0KCTx0
    superDebug: 004C0 65 58 42 6C 49 48 5A 68 62 48 56 6C 50 53 4A 74 eXBlIHZhbHVlPSJt
    superDebug: 004D0 5A 58 4E 7A 59 57 64 6C 49 69 38 2B 44 51 6F 4A ZXNzYWdlIi8+DQoJ
    superDebug: 004E0 50 47 56 75 64 48 4A 35 50 67 30 4B 43 51 6B 38 PGVudHJ5Pg0KCQk8
    superDebug: 004F0 0D 0A 5A 6E 56 73 62 48 56 79 62 43 42 32 59 57 ..ZnVsbHVybCB2YW
    superDebug: 00500 78 31 5A 54 30 69 64 58 4A 75 4F 6E 56 31 61 57 x1ZT0idXJuOnV1aW
    superDebug: 00510 51 36 5A 54 4E 6B 5A 47 4A 6B 5A 57 51 74 4D 7A Q6ZTNkZGJkZWQtMz
    superDebug: 00520 46 6B 4D 79 30 30 4E 54 41 31 4C 54 67 77 4E 57 FkMy00NTA1LTgwNW
    superDebug: 00530 45 74 4D 44 4E 69 4D 47 51 35 4E 44 45 32 0D 0A EtMDNiMGQ5NDE2..
    superDebug: 00540 4D 6A 46 6C 49 69 38 2B 44 51 6F 4A 43 54 78 79 MjFlIi8+DQoJCTxy
    superDebug: 00550 5A 58 4E 7A 62 33 56 79 59 32 55 2B 44 51 6F 4A ZXNzb3VyY2U+DQoJ
    superDebug: 00560 43 51 6B 38 54 57 56 7A 63 32 46 6E 5A 55 68 6C CQk8TWVzc2FnZUhl
    superDebug: 00570 59 57 52 6C 63 69 42 34 62 57 78 75 63 7A 30 69 YWRlciB4bWxucz0i
    superDebug: 00580 61 48 52 30 63 44 6F 76 4C 32 68 73 0D 0A 4E 79 aHR0cDovL2hs..Ny
    superDebug: 00590 35 76 63 6D 63 76 5A 6D 68 70 63 69 49 2B 44 51 5vcmcvZmhpciI+DQ
    superDebug: 005A0 6F 4A 43 51 6B 4A 50 47 6C 6B 49 48 5A 68 62 48 oJCQkJPGlkIHZhbH
    superDebug: 005B0 56 6C 50 53 4A 6C 4D 32 52 6B 59 6D 52 6C 5A 43 VlPSJlM2RkYmRlZC
    superDebug: 005C0 30 7A 4D 57 51 7A 4C 54 51 31 4D 44 55 74 4F 44 0zMWQzLTQ1MDUtOD
    superDebug: 005D0 41 31 59 53 30 77 4D 32 49 77 0D 0A 5A 44 6B 30 A1YS0wM2Iw..ZDk0
    superDebug: 005E0 4D 54 59 79 4D 57 55 69 4C 7A 34 4E 43 67 6B 4A MTYyMWUiLz4NCgkJ
    superDebug: 005F0 43 51 6B 38 62 57 56 30 59 54 34 4E 43 67 6B 4A CQk8bWV0YT4NCgkJ
    superDebug: 00600 43 51 6B 4A 50 48 42 79 62 32 5A 70 62 47 55 67 CQkJPHByb2ZpbGUg
    superDebug: 00610 64 6D 46 73 64 57 55 39 49 6D 68 30 64 48 42 7A dmFsdWU9Imh0dHBz
    superDebug: 00620 4F 69 38 76 5A 6D 68 70 0D 0A 63 69 35 72 59 6E Oi8vZmhp..ci5rYn
    superDebug: 00630 59 75 5A 47 55 76 55 33 52 79 64 57 4E 30 64 58 YuZGUvU3RydWN0dX
    superDebug: 00640 4A 6C 52 47 56 6D 61 57 35 70 64 47 6C 76 62 69 JlRGVmaW5pdGlvbi
    superDebug: 00650 38 33 4E 46 39 51 55 6C 39 46 56 46 4E 66 54 55 83NF9QUl9FVFNfTU
    superDebug: 00660 68 66 56 6D 56 79 62 57 6C 30 64 47 78 31 62 6D hfVmVybWl0dGx1bm
    superDebug: 00670 64 7A 59 32 39 6B 0D 0A 5A 58 4D 74 59 57 35 6D dzY29k..ZXMtYW5m
    superDebug: 00680 62 33 4A 6B 5A 58 4A 75 58 31 4A 6C 63 58 56 6C b3JkZXJuX1JlcXVl
    superDebug: 00690 63 33 51 69 4C 7A 34 4E 43 67 6B 4A 43 51 6B 38 c3QiLz4NCgkJCQk8
    superDebug: 006A0 4C 32 31 6C 64 47 45 2B 44 51 6F 4A 43 51 6B 4A L21ldGE+DQoJCQkJ
    superDebug: 006B0 50 47 56 32 5A 57 35 30 50 67 30 4B 43 51 6B 4A PGV2ZW50Pg0KCQkJ
    superDebug: 006C0 43 51 6B 38 0D 0A 63 33 6C 7A 64 47 56 74 49 48 CQk8..c3lzdGVtIH
    superDebug: 006D0 5A 68 62 48 56 6C 50 53 4A 6F 64 48 52 77 63 7A ZhbHVlPSJodHRwcz
    superDebug: 006E0 6F 76 4C 32 5A 6F 61 58 49 75 61 32 4A 32 4C 6D ovL2ZoaXIua2J2Lm
    superDebug: 006F0 52 6C 4C 30 4E 76 5A 47 56 54 65 58 4E 30 5A 57 RlL0NvZGVTeXN0ZW
    superDebug: 00700 30 76 4E 7A 52 66 51 31 4E 66 52 56 52 54 58 30 0vNzRfQ1NfRVRTX0
    superDebug: 00710 56 32 0D 0A 5A 57 35 30 63 79 49 76 50 67 30 4B V2..ZW50cyIvPg0K
    superDebug: 00720 43 51 6B 4A 43 51 6B 38 59 32 39 6B 5A 53 42 32 CQkJCQk8Y29kZSB2
    superDebug: 00730 59 57 78 31 5A 54 30 69 64 6D 56 79 62 57 6C 30 YWx1ZT0idmVybWl0
    superDebug: 00740 64 47 78 31 62 6D 64 7A 59 32 39 6B 5A 53 31 68 dGx1bmdzY29kZS1h
    superDebug: 00750 62 6D 5A 76 63 6D 52 6C 63 6D 34 69 4C 7A 34 4E bmZvcmRlcm4iLz4N
    superDebug: 00760 0D 0A 43 67 6B 4A 43 51 6B 38 4C 32 56 32 5A 57 ..CgkJCQk8L2V2ZW
    superDebug: 00770 35 30 50 67 30 4B 43 51 6B 4A 43 54 78 30 61 57 50Pg0KCQkJCTx0aW
    superDebug: 00780 31 6C 63 33 52 68 62 58 41 67 64 6D 46 73 64 57 1lc3RhbXAgdmFsdW
    superDebug: 00790 55 39 49 6A 49 77 4D 54 6B 74 4D 44 63 74 4D 54 U9IjIwMTktMDctMT
    superDebug: 007A0 64 55 4D 44 67 36 4E 44 49 36 4D 7A 67 72 0D 0A dUMDg6NDI6Mzgr..
    superDebug: 007B0 4D 44 45 36 4D 44 41 69 4C 7A 34 4E 43 67 6B 4A MDE6MDAiLz4NCgkJ
    superDebug: 007C0 43 51 6B 38 63 32 39 31 63 6D 4E 6C 50 67 30 4B CQk8c291cmNlPg0K
    superDebug: 007D0 43 51 6B 4A 43 51 6B 38 5A 57 35 6B 63 47 39 70 CQkJCQk8ZW5kcG9p
    superDebug: 007E0 62 6E 51 67 64 6D 46 73 64 57 55 39 49 6D 31 68 bnQgdmFsdWU9Im1h
    superDebug: 007F0 61 57 78 30 62 7A 70 78 62 57 56 6B 0D 0A 4C 6E aWx0bzpxbWVk..Ln
    superDebug: 00800 42 79 59 58 68 70 63 79 35 30 5A 58 4E 30 4C 6C ByYXhpcy50ZXN0Ll
    superDebug: 00810 4A 6C 5A 6C 39 6C 61 57 35 7A 51 47 74 32 4C 58 JlZl9laW5zQGt2LX
    superDebug: 00820 4E 68 5A 6D 56 75 5A 58 51 75 5A 47 55 69 4C 7A NhZmVuZXQuZGUiLz
    superDebug: 00830 34 4E 43 67 6B 4A 43 51 6B 38 4C 33 4E 76 64 58 4NCgkJCQk8L3NvdX
    superDebug: 00840 4A 6A 5A 54 34 4E 43 67 6B 4A 0D 0A 43 51 6B 38 JjZT4NCgkJ..CQk8
    superDebug: 00850 5A 6D 39 6A 64 58 4D 2B 44 51 6F 4A 43 51 6B 4A Zm9jdXM+DQoJCQkJ
    superDebug: 00860 43 54 78 79 5A 57 5A 6C 63 6D 56 75 59 32 55 67 CTxyZWZlcmVuY2Ug
    superDebug: 00870 64 6D 46 73 64 57 55 39 49 6E 56 79 62 6A 70 31 dmFsdWU9InVybjp1
    superDebug: 00880 64 57 6C 6B 4F 6D 49 33 4E 7A 63 30 4D 54 52 6C dWlkOmI3Nzc0MTRl
    superDebug: 00890 4C 54 64 68 4E 32 59 74 0D 0A 4E 44 4D 35 4D 53 LTdhN2Yt..NDM5MS
    superDebug: 008A0 30 35 5A 6A 51 32 4C 54 64 6B 4D 47 4D 35 5A 6D 05ZjQ2LTdkMGM5Zm
    superDebug: 008B0 49 32 59 54 51 79 59 69 49 76 50 67 30 4B 43 51 I2YTQyYiIvPg0KCQ
    superDebug: 008C0 6B 4A 43 54 77 76 5A 6D 39 6A 64 58 4D 2B 44 51 kJCTwvZm9jdXM+DQ
    superDebug: 008D0 6F 4A 43 51 6B 38 4C 30 31 6C 63 33 4E 68 5A 32 oJCQk8L01lc3NhZ2
    superDebug: 008E0 56 49 5A 57 46 6B 0D 0A 5A 58 49 2B 44 51 6F 4A VIZWFk..ZXI+DQoJ
    superDebug: 008F0 43 54 77 76 63 6D 56 7A 63 32 39 31 63 6D 4E 6C CTwvcmVzc291cmNl
    superDebug: 00900 50 67 30 4B 43 54 77 76 5A 57 35 30 63 6E 6B 2B Pg0KCTwvZW50cnk+
    superDebug: 00910 44 51 6F 4A 50 47 56 75 64 48 4A 35 50 67 30 4B DQoJPGVudHJ5Pg0K
    superDebug: 00920 43 51 6B 38 5A 6E 56 73 62 48 56 79 62 43 42 32 CQk8ZnVsbHVybCB2
    superDebug: 00930 59 57 78 31 0D 0A 5A 54 30 69 64 58 4A 75 4F 6E YWx1..ZT0idXJuOn
    superDebug: 00940 56 31 61 57 51 36 59 6A 63 33 4E 7A 51 78 4E 47 V1aWQ6Yjc3NzQxNG
    superDebug: 00950 55 74 4E 32 45 33 5A 69 30 30 4D 7A 6B 78 4C 54 UtN2E3Zi00MzkxLT
    superDebug: 00960 6C 6D 4E 44 59 74 4E 32 51 77 59 7A 6C 6D 59 6A lmNDYtN2QwYzlmYj
    superDebug: 00970 5A 68 4E 44 4A 69 49 69 38 2B 44 51 6F 4A 43 54 ZhNDJiIi8+DQoJCT
    superDebug: 00980 78 79 0D 0A 5A 58 4E 7A 62 33 56 79 59 32 55 2B xy..ZXNzb3VyY2U+
    superDebug: 00990 44 51 6F 4A 43 51 6B 38 54 57 56 7A 63 32 46 6E DQoJCQk8TWVzc2Fn
    superDebug: 009A0 5A 55 68 6C 59 57 52 6C 63 69 42 34 62 57 78 75 ZUhlYWRlciB4bWxu
    superDebug: 009B0 63 7A 30 69 61 48 52 30 63 44 6F 76 4C 32 68 73 cz0iaHR0cDovL2hs
    superDebug: 009C0 4E 79 35 76 63 6D 63 76 5A 6D 68 70 63 69 49 2B Ny5vcmcvZmhpciI+
    superDebug: 009D0 0D 0A 44 51 6F 4A 43 51 6B 4A 50 47 6C 6B 49 48 ..DQoJCQkJPGlkIH
    superDebug: 009E0 5A 68 62 48 56 6C 50 53 4A 69 4E 7A 63 33 4E 44 ZhbHVlPSJiNzc3ND
    superDebug: 009F0 45 30 5A 53 30 33 59 54 64 6D 4C 54 51 7A 4F 54 E0ZS03YTdmLTQzOT
    superDebug: 00A00 45 74 4F 57 59 30 4E 69 30 33 5A 44 42 6A 4F 57 EtOWY0Ni03ZDBjOW
    superDebug: 00A10 5A 69 4E 6D 45 30 4D 6D 49 69 4C 7A 34 4E 0D 0A ZiNmE0MmIiLz4N..
    superDebug: 00A20 43 67 6B 4A 43 51 6B 38 62 57 56 30 59 54 34 4E CgkJCQk8bWV0YT4N
    superDebug: 00A30 43 67 6B 4A 43 51 6B 4A 50 48 42 79 62 32 5A 70 CgkJCQkJPHByb2Zp
    superDebug: 00A40 62 47 55 67 64 6D 46 73 64 57 55 39 49 6D 68 30 bGUgdmFsdWU9Imh0
    superDebug: 00A50 64 48 42 7A 4F 69 38 76 5A 6D 68 70 63 69 35 72 dHBzOi8vZmhpci5r
    superDebug: 00A60 59 6E 59 75 5A 47 55 76 55 33 52 79 0D 0A 64 57 YnYuZGUvU3Ry..dW
    superDebug: 00A70 4E 30 64 58 4A 6C 52 47 56 6D 61 57 35 70 64 47 N0dXJlRGVmaW5pdG
    superDebug: 00A80 6C 76 62 69 38 33 4E 46 39 51 55 6C 39 46 56 46 lvbi83NF9QUl9FVF
    superDebug: 00A90 4E 66 55 6D 56 6D 5A 58 4A 79 59 57 78 79 5A 58 NfUmVmZXJyYWxyZX
    superDebug: 00AA0 46 31 5A 58 4E 30 58 32 46 75 5A 6D 39 79 5A 47 F1ZXN0X2FuZm9yZG
    superDebug: 00AB0 56 79 64 57 35 6E 58 32 31 31 0D 0A 63 33 52 6C VydW5nX211..c3Rl
    superDebug: 00AC0 63 6A 41 32 49 69 38 2B 44 51 6F 4A 43 51 6B 4A cjA2Ii8+DQoJCQkJ
    superDebug: 00AD0 50 43 39 74 5A 58 52 68 50 67 30 4B 43 51 6B 4A PC9tZXRhPg0KCQkJ
    superDebug: 00AE0 43 54 78 7A 64 47 46 30 64 58 4D 67 64 6D 46 73 CTxzdGF0dXMgdmFs
    superDebug: 00AF0 64 57 55 39 49 6D 52 79 59 57 5A 30 49 69 38 2B dWU9ImRyYWZ0Ii8+
    superDebug: 00B00 44 51 6F 4A 43 51 6B 4A 0D 0A 50 47 6C 75 64 47 DQoJCQkJ..PGludG
    superDebug: 00B10 56 75 64 43 42 32 59 57 78 31 5A 54 30 69 62 33 VudCB2YWx1ZT0ib3
    superDebug: 00B20 4A 6B 5A 58 49 69 4C 7A 34 4E 43 67 6B 4A 43 51 JkZXIiLz4NCgkJCQ
    superDebug: 00B30 6B 38 64 48 6C 77 5A 54 34 4E 43 67 6B 4A 43 51 k8dHlwZT4NCgkJCQ
    superDebug: 00B40 6B 4A 50 47 4E 76 5A 47 6C 75 5A 7A 34 4E 43 67 kJPGNvZGluZz4NCg
    superDebug: 00B50 6B 4A 43 51 6B 4A 0D 0A 43 54 78 7A 65 58 4E 30 kJCQkJ..CTxzeXN0
    superDebug: 00B60 5A 57 30 67 64 6D 46 73 64 57 55 39 49 6D 68 30 ZW0gdmFsdWU9Imh0
    superDebug: 00B70 64 48 41 36 4C 79 39 33 64 33 63 75 61 32 4A 32 dHA6Ly93d3cua2J2
    superDebug: 00B80 4C 6D 52 6C 4C 32 5A 6F 61 58 49 76 51 32 39 6B LmRlL2ZoaXIvQ29k
    superDebug: 00B90 5A 56 4E 35 63 33 52 6C 62 53 38 33 4E 46 39 44 ZVN5c3RlbS83NF9D
    superDebug: 00BA0 55 31 39 42 0D 0A 56 31 39 42 62 6D 78 68 5A 32 U19B..V19BbmxhZ2
    superDebug: 00BB0 56 30 65 58 41 69 4C 7A 34 4E 43 67 6B 4A 43 51 V0eXAiLz4NCgkJCQ
    superDebug: 00BC0 6B 4A 43 54 78 6A 62 32 52 6C 49 48 5A 68 62 48 kJCTxjb2RlIHZhbH
    superDebug: 00BD0 56 6C 50 53 4A 4C 56 69 31 4E 64 58 4E 30 5A 58 VlPSJLVi1NdXN0ZX
    superDebug: 00BE0 4A 66 4E 69 49 76 50 67 30 4B 43 51 6B 4A 43 51 JfNiIvPg0KCQkJCQ
    superDebug: 00BF0 6B 38 0D 0A 4C 32 4E 76 5A 47 6C 75 5A 7A 34 4E k8..L2NvZGluZz4N
    superDebug: 00C00 43 67 6B 4A 43 51 6B 38 4C 33 52 35 63 47 55 2B CgkJCQk8L3R5cGU+
    superDebug: 00C10 44 51 6F 4A 43 51 6B 4A 50 48 42 79 61 57 39 79 DQoJCQkJPHByaW9y
    superDebug: 00C20 61 58 52 35 49 48 5A 68 62 48 56 6C 50 53 4A 31 aXR5IHZhbHVlPSJ1
    superDebug: 00C30 63 6D 64 6C 62 6E 51 69 4C 7A 34 4E 43 67 6B 4A cmdlbnQiLz4NCgkJ
    superDebug: 00C40 0D 0A 43 51 6B 38 63 33 56 69 61 6D 56 6A 64 44 ..CQk8c3ViamVjdD
    superDebug: 00C50 34 4E 43 67 6B 4A 43 51 6B 4A 50 47 52 70 63 33 4NCgkJCQkJPGRpc3
    superDebug: 00C60 42 73 59 58 6B 67 64 6D 46 73 64 57 55 39 49 69 BsYXkgdmFsdWU9Ii
    superDebug: 00C70 30 69 4C 7A 34 4E 43 67 6B 4A 43 51 6B 38 4C 33 0iLz4NCgkJCQk8L3
    superDebug: 00C80 4E 31 59 6D 70 6C 59 33 51 2B 44 51 6F 4A 0D 0A N1YmplY3Q+DQoJ..
    superDebug: 00C90 43 51 6B 4A 50 48 4A 6C 63 58 56 6C 63 33 52 6C CQkJPHJlcXVlc3Rl
    superDebug: 00CA0 63 6A 34 4E 43 67 6B 4A 43 51 6B 4A 50 47 46 6E cj4NCgkJCQkJPGFn
    superDebug: 00CB0 5A 57 35 30 50 67 30 4B 43 51 6B 4A 43 51 6B 4A ZW50Pg0KCQkJCQkJ
    superDebug: 00CC0 50 47 6C 6B 5A 57 35 30 61 57 5A 70 5A 58 49 2B PGlkZW50aWZpZXI+
    superDebug: 00CD0 44 51 6F 4A 43 51 6B 4A 43 51 6B 4A 0D 0A 50 48 DQoJCQkJCQkJ..PH
    superDebug: 00CE0 4E 35 63 33 52 6C 62 53 42 32 59 57 78 31 5A 54 N5c3RlbSB2YWx1ZT
    superDebug: 00CF0 30 69 61 48 52 30 63 44 6F 76 4C 32 5A 6F 61 58 0iaHR0cDovL2ZoaX
    superDebug: 00D00 49 75 5A 47 55 76 54 6D 46 74 61 57 35 6E 55 33 IuZGUvTmFtaW5nU3
    superDebug: 00D10 6C 7A 64 47 56 74 4C 32 74 69 64 69 39 73 59 57 lzdGVtL2tidi9sYW
    superDebug: 00D20 35 79 49 69 38 2B 44 51 6F 4A 0D 0A 43 51 6B 4A 5yIi8+DQoJ..CQkJ
    superDebug: 00D30 43 51 6B 4A 50 47 4E 76 5A 47 55 67 64 6D 46 73 CQkJPGNvZGUgdmFs
    superDebug: 00D40 64 57 55 39 49 6A 6B 35 4F 54 6B 35 4F 54 6B 77 dWU9Ijk5OTk5OTkw
    superDebug: 00D50 4D 53 49 76 50 67 30 4B 43 51 6B 4A 43 51 6B 4A MSIvPg0KCQkJCQkJ
    superDebug: 00D60 50 43 39 70 5A 47 56 75 64 47 6C 6D 61 57 56 79 PC9pZGVudGlmaWVy
    superDebug: 00D70 50 67 30 4B 43 51 6B 4A 0D 0A 43 51 6B 38 4C 32 Pg0KCQkJ..CQk8L2
    superDebug: 00D80 46 6E 5A 57 35 30 50 67 30 4B 43 51 6B 4A 43 54 FnZW50Pg0KCQkJCT
    superDebug: 00D90 77 76 63 6D 56 78 64 57 56 7A 64 47 56 79 50 67 wvcmVxdWVzdGVyPg
    superDebug: 00DA0 30 4B 43 51 6B 4A 43 54 78 76 62 6B 4A 6C 61 47 0KCQkJCTxvbkJlaG
    superDebug: 00DB0 46 73 5A 6B 39 6D 50 67 30 4B 43 51 6B 4A 43 51 FsZk9mPg0KCQkJCQ
    superDebug: 00DC0 6B 38 61 57 52 6C 0D 0A 62 6E 52 70 5A 6D 6C 6C k8aWRl..bnRpZmll
    superDebug: 00DD0 63 6A 34 4E 43 67 6B 4A 43 51 6B 4A 43 54 78 7A cj4NCgkJCQkJCTxz
    superDebug: 00DE0 65 58 4E 30 5A 57 30 67 64 6D 46 73 64 57 55 39 eXN0ZW0gdmFsdWU9
    superDebug: 00DF0 49 6D 68 30 64 48 41 36 4C 79 39 6D 61 47 6C 79 Imh0dHA6Ly9maGly
    superDebug: 00E00 4C 6D 52 6C 4C 30 35 68 62 57 6C 75 5A 31 4E 35 LmRlL05hbWluZ1N5
    superDebug: 00E10 63 33 52 6C 0D 0A 62 53 39 72 59 6E 59 76 59 6E c3Rl..bS9rYnYvYn
    superDebug: 00E20 4E 75 63 69 49 76 50 67 30 4B 43 51 6B 4A 43 51 NuciIvPg0KCQkJCQ
    superDebug: 00E30 6B 4A 50 47 4E 76 5A 47 55 67 64 6D 46 73 64 57 kJPGNvZGUgdmFsdW
    superDebug: 00E40 55 39 49 6A 55 79 4D 54 45 78 4D 54 45 77 4D 43 U9IjUyMTExMTEwMC
    superDebug: 00E50 49 76 50 67 30 4B 43 51 6B 4A 43 51 6B 38 4C 32 IvPg0KCQkJCQk8L2
    superDebug: 00E60 6C 6B 0D 0A 5A 57 35 30 61 57 5A 70 5A 58 49 2B lk..ZW50aWZpZXI+
    superDebug: 00E70 44 51 6F 4A 43 51 6B 4A 50 43 39 76 62 6B 4A 6C DQoJCQkJPC9vbkJl
    superDebug: 00E80 61 47 46 73 5A 6B 39 6D 50 67 30 4B 43 51 6B 4A aGFsZk9mPg0KCQkJ
    superDebug: 00E90 43 54 78 7A 63 47 56 6A 61 57 46 73 64 48 6B 2B CTxzcGVjaWFsdHk+
    superDebug: 00EA0 44 51 6F 4A 43 51 6B 4A 43 54 78 30 5A 58 68 30 DQoJCQkJCTx0ZXh0
    superDebug: 00EB0 0D 0A 49 48 5A 68 62 48 56 6C 50 53 4A 55 5A 58 ..IHZhbHVlPSJUZX
    superDebug: 00EC0 4E 30 49 69 38 2B 44 51 6F 4A 43 51 6B 4A 43 54 N0Ii8+DQoJCQkJCT
    superDebug: 00ED0 78 6C 65 48 52 6C 62 6E 4E 70 62 32 34 67 64 58 xleHRlbnNpb24gdX
    superDebug: 00EE0 4A 73 50 53 4A 6F 64 48 52 77 63 7A 6F 76 4C 32 JsPSJodHRwczovL2
    superDebug: 00EF0 5A 6F 61 58 49 75 61 32 4A 32 4C 6D 52 6C 0D 0A ZoaXIua2J2LmRl..
    superDebug: 00F00 4C 31 4E 30 63 6E 56 6A 64 48 56 79 5A 55 52 6C L1N0cnVjdHVyZURl
    superDebug: 00F10 5A 6D 6C 75 61 58 52 70 62 32 34 76 4E 7A 52 66 ZmluaXRpb24vNzRf
    superDebug: 00F20 52 56 68 66 52 56 52 54 58 30 46 6B 5A 47 6C 30 RVhfRVRTX0FkZGl0
    superDebug: 00F30 61 57 39 75 59 57 78 52 64 57 46 73 61 57 5A 70 aW9uYWxRdWFsaWZp
    superDebug: 00F40 59 32 46 30 61 57 39 75 49 6A 34 4E 0D 0A 43 67 Y2F0aW9uIj4N..Cg
    superDebug: 00F50 6B 4A 43 51 6B 4A 43 54 78 32 59 57 78 31 5A 55 kJCQkJCTx2YWx1ZU
    superDebug: 00F60 4E 76 5A 47 6C 75 5A 7A 34 4E 43 67 6B 4A 43 51 NvZGluZz4NCgkJCQ
    superDebug: 00F70 6B 4A 43 51 6B 38 63 33 6C 7A 64 47 56 74 49 48 kJCQk8c3lzdGVtIH
    superDebug: 00F80 5A 68 62 48 56 6C 50 53 4A 6F 64 48 52 77 63 7A ZhbHVlPSJodHRwcz
    superDebug: 00F90 6F 76 4C 32 5A 6F 61 58 49 75 0D 0A 61 32 4A 32 ovL2ZoaXIu..a2J2
    superDebug: 00FA0 4C 6D 52 6C 4C 30 4E 76 5A 47 56 54 65 58 4E 30 LmRlL0NvZGVTeXN0
    superDebug: 00FB0 5A 57 30 76 4E 7A 52 66 51 31 4E 66 55 30 5A 49 ZW0vNzRfQ1NfU0ZI
    superDebug: 00FC0 53 56 4A 66 51 6B 46 53 58 31 70 56 55 30 46 55 SVJfQkFSX1pVU0FU
    superDebug: 00FD0 57 6B 4A 46 57 6B 56 4A 51 30 68 4F 56 55 35 48 WkJFWkVJQ0hOVU5H
    superDebug: 00FE0 49 69 38 2B 44 51 6F 4A 0D 0A 43 51 6B 4A 43 51 Ii8+DQoJ..CQkJCQ
    superDebug: 00FF0 6B 4A 50 47 4E 76 5A 47 55 67 64 6D 46 73 64 57 kJPGNvZGUgdmFsdW
    superDebug: 01000 55 39 49 6A 41 30 4D 43 49 76 50 67 30 4B 43 51 U9IjA0MCIvPg0KCQ
    superDebug: 01010 6B 4A 43 51 6B 4A 50 43 39 32 59 57 78 31 5A 55 kJCQkJPC92YWx1ZU
    superDebug: 01020 4E 76 5A 47 6C 75 5A 7A 34 4E 43 67 6B 4A 43 51 NvZGluZz4NCgkJCQ
    superDebug: 01030 6B 4A 50 43 39 6C 0D 0A 65 48 52 6C 62 6E 4E 70 kJPC9l..eHRlbnNp
    superDebug: 01040 62 32 34 2B 44 51 6F 4A 43 51 6B 4A 43 54 78 6C b24+DQoJCQkJCTxl
    superDebug: 01050 65 48 52 6C 62 6E 4E 70 62 32 34 67 64 58 4A 73 eHRlbnNpb24gdXJs
    superDebug: 01060 50 53 4A 6F 64 48 52 77 63 7A 6F 76 4C 32 5A 6F PSJodHRwczovL2Zo
    superDebug: 01070 61 58 49 75 61 32 4A 32 4C 6D 52 6C 4C 31 4E 30 aXIua2J2LmRlL1N0
    superDebug: 01080 63 6E 56 6A 0D 0A 64 48 56 79 5A 55 52 6C 5A 6D cnVj..dHVyZURlZm
    superDebug: 01090 6C 75 61 58 52 70 62 32 34 76 4E 7A 52 66 52 56 luaXRpb24vNzRfRV
    superDebug: 010A0 68 66 52 56 52 54 58 30 46 6B 5A 47 6C 30 61 57 hfRVRTX0FkZGl0aW
    superDebug: 010B0 39 75 59 57 78 52 64 57 46 73 61 57 5A 70 59 32 9uYWxRdWFsaWZpY2
    superDebug: 010C0 46 30 61 57 39 75 49 6A 34 4E 43 67 6B 4A 43 51 F0aW9uIj4NCgkJCQ
    superDebug: 010D0 6B 4A 0D 0A 43 54 78 32 59 57 78 31 5A 55 4E 76 kJ..CTx2YWx1ZUNv
    superDebug: 010E0 5A 47 6C 75 5A 7A 34 4E 43 67 6B 4A 43 51 6B 4A ZGluZz4NCgkJCQkJ
    superDebug: 010F0 43 51 6B 38 63 33 6C 7A 64 47 56 74 49 48 5A 68 CQk8c3lzdGVtIHZh
    superDebug: 01100 62 48 56 6C 50 53 4A 6F 64 48 52 77 63 7A 6F 76 bHVlPSJodHRwczov
    superDebug: 01110 4C 32 5A 6F 61 58 49 75 61 32 4A 32 4C 6D 52 6C L2ZoaXIua2J2LmRl
    superDebug: 01120 0D 0A 4C 30 4E 76 5A 47 56 54 65 58 4E 30 5A 57 ..L0NvZGVTeXN0ZW
    superDebug: 01130 30 76 4E 7A 52 66 51 31 4E 66 55 30 5A 49 53 56 0vNzRfQ1NfU0ZISV
    superDebug: 01140 4A 66 51 6B 46 53 58 31 70 56 55 30 46 55 57 6B JfQkFSX1pVU0FUWk
    superDebug: 01150 4A 46 57 6B 56 4A 51 30 68 4F 56 55 35 48 49 69 JFWkVJQ0hOVU5HIi
    superDebug: 01160 38 2B 44 51 6F 4A 43 51 6B 4A 43 51 6B 4A 0D 0A 8+DQoJCQkJCQkJ..
    superDebug: 01170 50 47 4E 76 5A 47 55 67 64 6D 46 73 64 57 55 39 PGNvZGUgdmFsdWU9
    superDebug: 01180 49 6A 41 30 4D 53 49 76 50 67 30 4B 43 51 6B 4A IjA0MSIvPg0KCQkJ
    superDebug: 01190 43 51 6B 4A 50 43 39 32 59 57 78 31 5A 55 4E 76 CQkJPC92YWx1ZUNv
    superDebug: 011A0 5A 47 6C 75 5A 7A 34 4E 43 67 6B 4A 43 51 6B 4A ZGluZz4NCgkJCQkJ
    superDebug: 011B0 50 43 39 6C 65 48 52 6C 62 6E 4E 70 0D 0A 62 32 PC9leHRlbnNp..b2
    superDebug: 011C0 34 2B 44 51 6F 4A 43 51 6B 4A 50 43 39 7A 63 47 4+DQoJCQkJPC9zcG
    superDebug: 011D0 56 6A 61 57 46 73 64 48 6B 2B 44 51 6F 4A 43 51 VjaWFsdHk+DQoJCQ
    superDebug: 011E0 6B 38 4C 30 31 6C 63 33 4E 68 5A 32 56 49 5A 57 k8L01lc3NhZ2VIZW
    superDebug: 011F0 46 6B 5A 58 49 2B 44 51 6F 4A 43 54 77 76 63 6D FkZXI+DQoJCTwvcm
    superDebug: 01200 56 7A 63 32 39 31 63 6D 4E 6C 0D 0A 50 67 30 4B Vzc291cmNl..Pg0K
    superDebug: 01210 43 54 77 76 5A 57 35 30 63 6E 6B 2B 44 51 6F 38 CTwvZW50cnk+DQo8
    superDebug: 01220 4C 30 4A 31 62 6D 52 73 5A 54 34 4E 43 67 3D 3D L0J1bmRsZT4NCg==
    superDebug: 01230 0D 0A 0D 0A 2D 2D 3D 5F 42 6C 61 74 42 6F 75 6E ....--=_BlatBoun
    superDebug: 01240 64 61 72 79 2D 77 65 41 4E 73 57 37 4F 56 68 34 dary-weANsW7OVh4
    superDebug: 01250 39 35 68 6C 50 72 45 31 4A 5A 2D 2D 0D 0A 2E 0D 95hlPrE1JZ--....
    superDebug: 01260 0A .
    superDebug: Received 8 bytes:
    superDebug: 00000 32 35 30 20 4F 4B 0D 0A 250 OK..
    <<<getline<<< 49="" quit..="" ok="" attempting="" 55="" 54="" bytes:="" 51="" send="" to="" superdebug:="" 00000="" 0d="" 6="" 250="" <br="" 0a="">putline>>> QUIT
    superDebug: Received 8 bytes:
    superDebug: 00000 32 32 31 20 4F 4B 0D 0A 221 OK..
    <<<getline<<< 221 OK
    2019.07.17 19:25:47 (Wed)-------------End of Session------------------</getline<<<></crlf></getline<<<></crlf></cr></getline<<<></getline<<<></getline<<<></getline<<<>

    Does it help you?

    Greeting Heiko

     
  • Chip

    Chip - 2019-07-18

    Thank you for that log. Yes, it does help. For stuff like this in the future, it would be better to send it to me in a private email to chip.programmer@att.net.

    As I suspected, your file is plain ASCII. Now for the sticky part. Adding charset to the Content-Type line tells the email reader how the BASE64 characters are encoded. BASE64 is defined as a 64 character subset of ASCII characters, therefore there will never be Unicode characters mixed into the BASE64 portion of the email message.

    What is the purpose for adding charset to the Content-Type line? Is it that the recipient does not know that your .xml is plain ASCII, and wants to be told if the decoded data may contain Unicode characters? If that is what your recipient really wants, to be receiving Unicode / UTF-8 XML files, then your .xml files will need to have the Byte Order Marker (BOM) written before the first line of XML. In this case, there should be a three byte UTF-8 BOM represented by the hex bytes EF BB BF. When the recipient decodes the BASE64 portion, they will then know the xml is UTF-8 encoded because of the BOM in the first three bytes.

    I welcome a discussion about what the purpose of adding charset to the Content-Type header line, when it actually make sense for it to be there. I found where to add the needed source changes, but I think there is some confusion about what the recipient really wants. Let us make sure of the true need for your recipient.

     

    Last edit: Chip 2019-07-18
  • Heiko Mück

    Heiko Mück - 2019-07-18

    Hi Chip,

    i don’t know the purpose. We use blat in this scenario to get a code from a server, that is hosted by a institution. The institution is the KBV. This institution is responsible for the health service in Germany and makes requirements for software and they are certifying the software. Only certified software is allowed to be used in the health care system. And at the moment we must become certified for the eTerminservice. And one of this requirements is, that this body must look the way it has to look. I think asking them why it has to be this way, will not be very succesful ;-)

    It would be a great help for us, if you can implement this requirement. Everything else works perfect with blat (we really love blat, it helps us in many scenarios), only this little thing is missing.

    Greetings Heiko

     
  • Chip

    Chip - 2019-07-18

    Last night, I added -addch2bin option for adding the charset= to Content-Type: headers. I have done only limited testing to ensure it works. I will run more tests later today with different attachment types, to see what the impact will be. I am not sure I have your email address still, please send me an email from an address, or with an address listed inside, where you can receive .zip files with executables inside. Also tell me whether you want 32-bit or 64-bit. I will guess that you want the "full" version that is normally downloadable from here at SourceForge.

    Chip

     
  • Heiko Mück

    Heiko Mück - 2019-07-18

    Hi Chip,

    thanks for your support. You can send it to h.mueck@q-med,de or to my private email adress heiki1975@gmx.de. It should work by both adresses with zip-archives with an exe inside. Please send me an additional email, that you send it, than I can check, if it works with this accounts.
    At the moment the 32bit version is fine. I will test then immediately.

    Heiko

     
  • Heiko Mück

    Heiko Mück - 2019-07-18

    Correct email is h.mueck@q-med.de

     
  • Heiko Mück

    Heiko Mück - 2019-07-19

    Hi Chip,

    thank you for your support. It works for the problem, the content-type is not longer an error (they are using a automatic check for the messages we send), but now I get another error, that I does not understand:

    <fehlermeldung> <messageid>%3C01d53dff%24Blat.v3.2.22%249552c4d0%2425a05a8254ff%40localhost%3E</messageid> <fehler>66</fehler> <fehlertext>Content-Transfer-Encoding für Fachlichen Inhalt nicht korrekt </fehlertext> </fehlermeldung>

    In my opinion, the content-transfer-encoding is correct (BASE64), but upper case.
    In the specification it is lower case.

    I will report you later.

     
  • Heiko Mück

    Heiko Mück - 2019-07-19

    Hi Chip,

    I have a first feedback. The institution said, that BASE64 in upper-case is correct, but they must look, if they can change their test routines to accept it. I think, we should not do anything, they have to change it.

    A big thank-you for your support so far.

    Heiko

     
  • Chip

    Chip - 2019-07-19

    RFC 1341 describes the Content-Transfer-Encoding header at the bottom of page 10:

                Content-Transfer-Encoding := "BASE64" / "QUOTED-PRINTABLE" /
                                             "8BIT"   / "7BIT" /
                                             "BINARY" / x-token
    
                These values are not case sensitive.  That  is,  Base64  and
                BASE64  and  bAsE64 are all equivalent.  An encoding type of
    

    The RFC goes on and uses both uppercase and lowercase values interchangeably. Follow-on RFCs also show the values in uppercase, primarily, but also in lowercase in their text. Some examples in the RFCs show uppercase values, some show lowercase values.

    Before I upload the new files, I need to fix the ChangeLog.txt and run more tests. I hope there will not be more edits, then I should be able to upload the new files over the weekend.

     
  • Heiko Mück

    Heiko Mück - 2019-07-22

    Hi Chip,

    thank you for the link. At the moment I am still waiting for an answer from the institution. We have talked in our company, and we do not want to change anything because of what RFC says. The insitutition had to change their test routines.

    Greetings Heiko

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.