curl / curl

A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
https://curl.se/
Other
35.94k stars 6.43k forks source link

Leading slash in POST data prepends garbage on Windows #11308

Closed omartijn closed 1 year ago

omartijn commented 1 year ago

I did this

curl --verbose --data '/123' https://example.org/

I expected the following

content-length: 4

curl/libcurl version

Tried versions:

operating system

Windows 10. It works fine on Linux and macOS.

bagder commented 1 year ago

I expected the following

So what did you get instead? Maybe show us the -v output?

omartijn commented 1 year ago

I get this when running on Windows:

$ curl --verbose --data '/123' https://example.org/ -o /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 93.184.216.34:443...
* Connected to example.org (93.184.216.34) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: C:\develop\martijn\software\unzip\curl-8.1.2_3-win64-mingw\bin\curl-ca-bundle.crt
*  CApath: none
} [5 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [88 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [155 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [15 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [3106 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
*  subject: C=US; ST=California; L=Los Angeles; O=Internet▒Corporation▒for▒Assigned▒Names▒and▒Numbers; CN=www.example.org
*  start date: Jan 13 00:00:00 2023 GMT
*  expire date: Feb 13 23:59:59 2024 GMT
*  subjectAltName: host "example.org" matched cert's "example.org"
*  issuer: C=US; O=DigiCert Inc; CN=DigiCert TLS RSA SHA256 2020 CA1
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* h2h3 [:method: POST]
* h2h3 [:path: /]
* h2h3 [:scheme: https]
* h2h3 [:authority: example.org]
* h2h3 [user-agent: curl/7.87.0]
* h2h3 [accept: */*]
* h2h3 [content-length: 24]
* h2h3 [content-type: application/x-www-form-urlencoded]
* Using Stream ID: 1 (easy handle 0x2bea42e15f0)
} [5 bytes data]
> POST / HTTP/2
> Host: example.org
> user-agent: curl/7.87.0
> accept: */*
> content-length: 24
> content-type: application/x-www-form-urlencoded
>
} [5 bytes data]
* We are completely uploaded and fine
{ [5 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [233 bytes data]
* [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [233 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
< HTTP/2 200
< accept-ranges: bytes
< cache-control: max-age=604800
< content-type: text/html; charset=UTF-8
< date: Mon, 12 Jun 2023 15:33:30 GMT
< etag: "3147526947"
< expires: Mon, 19 Jun 2023 15:33:30 GMT
< last-modified: Thu, 17 Oct 2019 07:18:26 GMT
< server: EOS (vny/0453)
< content-length: 1256
<
{ [5 bytes data]
100  1280  100  1256  100    24   1511     28 --:--:-- --:--:-- --:--:--  1544
* Connection #0 to host example.org left intact

So I get an additional 20 bytes in the POST data.

bagder commented 1 year ago

Try adding --trace dump.txt instead of --verbose, as then you'll get a complete trace of exactly what curl is sending there.

omartijn commented 1 year ago

Alright, doing that, we can see that curl adds a directory in front of the POST data:

== Info:   Trying 93.184.216.34:443...
== Info: Connected to example.org (93.184.216.34) port 443 (#0)
== Info: ALPN: offers h2
== Info: ALPN: offers http/1.1
== Info:  CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
== Info:  CApath: none
=> Send SSL data, 5 bytes (0x5)
0000: 16 03 01 02 00                                  .....
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Client hello (1):
=> Send SSL data, 512 bytes (0x200)
0000: 01 00 01 fc 03 03 08 be f4 22 92 e4 0a 5a 1c 31 ........."...Z.1
0010: 86 fb 06 aa 53 cf d5 12 cb e7 2d 17 72 08 83 f9 ....S.....-.r...
0020: ce 53 45 24 d7 7c 20 29 63 a1 0f 45 d5 01 1c 39 .SE$.| )c..E...9
0030: a4 a4 f9 41 2e c8 ee 10 b1 76 97 f4 65 f0 ee fd ...A.....v..e...
0040: 87 ce ed b6 bf ba 34 00 3e 13 02 13 03 13 01 c0 ......4.>.......
0050: 2c c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 ,.0.........+./.
0060: 9e c0 24 c0 28 00 6b c0 23 c0 27 00 67 c0 0a c0 ..$.(.k.#.'.g...
0070: 14 00 39 c0 09 c0 13 00 33 00 9d 00 9c 00 3d 00 ..9.....3.....=.
0080: 3c 00 35 00 2f 00 ff 01 00 01 75 00 00 00 10 00 <.5./.....u.....
0090: 0e 00 00 0b 65 78 61 6d 70 6c 65 2e 6f 72 67 00 ....example.org.
00a0: 0b 00 04 03 00 01 02 00 0a 00 0c 00 0a 00 1d 00 ................
00b0: 17 00 1e 00 19 00 18 00 10 00 0e 00 0c 02 68 32 ..............h2
00c0: 08 68 74 74 70 2f 31 2e 31 00 16 00 00 00 17 00 .http/1.1.......
00d0: 00 00 31 00 00 00 0d 00 30 00 2e 04 03 05 03 06 ..1.....0.......
00e0: 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 08 ................
00f0: 06 04 01 05 01 06 01 03 03 02 03 03 01 02 01 03 ................
0100: 02 02 02 04 02 05 02 06 02 00 2b 00 09 08 03 04 ..........+.....
0110: 03 03 03 02 03 01 00 2d 00 02 01 01 00 33 00 26 .......-.....3.&
0120: 00 24 00 1d 00 20 9d 19 f1 b4 d4 ae 15 ef 68 4c .$... ........hL
0130: 10 35 22 ed 1f 4a af b7 a3 66 e9 bd d9 1e 3c e0 .5"..J...f....<.
0140: 21 66 20 e5 ac 56 00 15 00 b6 00 00 00 00 00 00 !f ..V..........
0150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<= Recv SSL data, 5 bytes (0x5)
0000: 16 03 03 00 58                                  ....X
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Server hello (2):
<= Recv SSL data, 88 bytes (0x58)
0000: 02 00 00 54 03 03 cf 21 ad 74 e5 9a 61 11 be 1d ...T...!.t..a...
0010: 8c 02 1e 65 b8 91 c2 a2 11 16 7a bb 8c 5e 07 9e ...e......z..^..
0020: 09 e2 c8 a8 33 9c 20 29 63 a1 0f 45 d5 01 1c 39 ....3. )c..E...9
0030: a4 a4 f9 41 2e c8 ee 10 b1 76 97 f4 65 f0 ee fd ...A.....v..e...
0040: 87 ce ed b6 bf ba 34 13 02 00 00 0c 00 2b 00 02 ......4......+..
0050: 03 04 00 33 00 02 00 17                         ...3....
=> Send SSL data, 5 bytes (0x5)
0000: 14 03 03 00 01                                  .....
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
=> Send SSL data, 1 bytes (0x1)
0000: 01                                              .
=> Send SSL data, 5 bytes (0x5)
0000: 16 03 03 02 00                                  .....
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Client hello (1):
=> Send SSL data, 512 bytes (0x200)
0000: 01 00 01 fc 03 03 08 be f4 22 92 e4 0a 5a 1c 31 ........."...Z.1
0010: 86 fb 06 aa 53 cf d5 12 cb e7 2d 17 72 08 83 f9 ....S.....-.r...
0020: ce 53 45 24 d7 7c 20 29 63 a1 0f 45 d5 01 1c 39 .SE$.| )c..E...9
0030: a4 a4 f9 41 2e c8 ee 10 b1 76 97 f4 65 f0 ee fd ...A.....v..e...
0040: 87 ce ed b6 bf ba 34 00 3e 13 02 13 03 13 01 c0 ......4.>.......
0050: 2c c0 30 00 9f cc a9 cc a8 cc aa c0 2b c0 2f 00 ,.0.........+./.
0060: 9e c0 24 c0 28 00 6b c0 23 c0 27 00 67 c0 0a c0 ..$.(.k.#.'.g...
0070: 14 00 39 c0 09 c0 13 00 33 00 9d 00 9c 00 3d 00 ..9.....3.....=.
0080: 3c 00 35 00 2f 00 ff 01 00 01 75 00 00 00 10 00 <.5./.....u.....
0090: 0e 00 00 0b 65 78 61 6d 70 6c 65 2e 6f 72 67 00 ....example.org.
00a0: 0b 00 04 03 00 01 02 00 0a 00 0c 00 0a 00 1d 00 ................
00b0: 17 00 1e 00 19 00 18 00 10 00 0e 00 0c 02 68 32 ..............h2
00c0: 08 68 74 74 70 2f 31 2e 31 00 16 00 00 00 17 00 .http/1.1.......
00d0: 00 00 31 00 00 00 0d 00 30 00 2e 04 03 05 03 06 ..1.....0.......
00e0: 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 05 08 ................
00f0: 06 04 01 05 01 06 01 03 03 02 03 03 01 02 01 03 ................
0100: 02 02 02 04 02 05 02 06 02 00 2b 00 09 08 03 04 ..........+.....
0110: 03 03 03 02 03 01 00 2d 00 02 01 01 00 33 00 47 .......-.....3.G
0120: 00 45 00 17 00 41 04 f0 66 d9 9d 40 ca cd a3 6f .E...A..f..@...o
0130: 6b d1 31 bd 02 b8 02 f1 64 fa d5 dc 20 3d 85 fc k.1.....d... =..
0140: 1b eb c9 10 0f e4 9a 9b c5 ba fa 08 b0 b9 e3 72 ...............r
0150: 9d 1c ca 49 a9 f1 be 21 b9 b0 31 cd 7a 22 64 55 ...I...!..1.z"dU
0160: 94 66 3c be b6 cd e8 00 15 00 95 00 00 00 00 00 .f<.............
0170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<= Recv SSL data, 5 bytes (0x5)
0000: 14 03 03 00 01                                  .....
<= Recv SSL data, 5 bytes (0x5)
0000: 16 03 03 00 9b                                  .....
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Server hello (2):
<= Recv SSL data, 155 bytes (0x9b)
0000: 02 00 00 97 03 03 c0 cf f8 b0 bf 82 c6 cd 40 2a ..............@*
0010: 61 60 18 a5 2b 7e 25 bb 14 0b 4e da e5 8f dc d1 a`..+~%...N.....
0020: 3f 0e 01 4d 17 18 20 29 63 a1 0f 45 d5 01 1c 39 ?..M.. )c..E...9
0030: a4 a4 f9 41 2e c8 ee 10 b1 76 97 f4 65 f0 ee fd ...A.....v..e...
0040: 87 ce ed b6 bf ba 34 13 02 00 00 4f 00 2b 00 02 ......4....O.+..
0050: 03 04 00 33 00 45 00 17 00 41 04 74 92 2c a9 b2 ...3.E...A.t.,..
0060: ac 4f 91 c2 93 a5 bf c4 78 bf 34 ff 02 64 83 5b .O......x.4..d.[
0070: 3e c8 b4 e1 2b a0 cd 68 da 61 0f 9f dd a4 12 b4 >...+..h.a......
0080: ca d6 5a 25 ad 92 10 0a ae f2 b9 17 36 2f 36 35 ..Z%........6/65
0090: 18 00 6b 5f 80 5c 23 47 a8 16 35                ..k_.\#G..5
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 20                                  .... 
<= Recv SSL data, 1 bytes (0x1)
0000: 16                                              .
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
<= Recv SSL data, 15 bytes (0xf)
0000: 08 00 00 0b 00 09 00 10 00 05 00 03 02 68 32    .............h2
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 0c 33                                  ....3
<= Recv SSL data, 1 bytes (0x1)
0000: 16                                              .
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Certificate (11):
<= Recv SSL data, 3106 bytes (0xc22)
0000: 0b 00 0c 1e 00 00 0c 1a 00 07 4e 30 82 07 4a 30 ..........N0..J0
0010: 82 06 32 a0 03 02 01 02 02 10 0c 1f cb 18 45 18 ..2...........E.
0020: c7 e3 86 67 41 23 6d 6b 73 f1 30 0d 06 09 2a 86 ...gA#mks.0...*.
0030: 48 86 f7 0d 01 01 0b 05 00 30 4f 31 0b 30 09 06 H........0O1.0..
0040: 03 55 04 06 13 02 55 53 31 15 30 13 06 03 55 04 .U....US1.0...U.
0050: 0a 13 0c 44 69 67 69 43 65 72 74 20 49 6e 63 31 ...DigiCert Inc1
0060: 29 30 27 06 03 55 04 03 13 20 44 69 67 69 43 65 )0'..U... DigiCe
0070: 72 74 20 54 4c 53 20 52 53 41 20 53 48 41 32 35 rt TLS RSA SHA25
0080: 36 20 32 30 32 30 20 43 41 31 30 1e 17 0d 32 33 6 2020 CA10...23
0090: 30 31 31 33 30 30 30 30 30 30 5a 17 0d 32 34 30 0113000000Z..240
00a0: 32 31 33 32 33 35 39 35 39 5a 30 81 96 31 0b 30 213235959Z0..1.0
00b0: 09 06 03 55 04 06 13 02 55 53 31 13 30 11 06 03 ...U....US1.0...
00c0: 55 04 08 13 0a 43 61 6c 69 66 6f 72 6e 69 61 31 U....California1
00d0: 14 30 12 06 03 55 04 07 13 0b 4c 6f 73 20 41 6e .0...U....Los An
00e0: 67 65 6c 65 73 31 42 30 40 06 03 55 04 0a 0c 39 geles1B0@..U...9
00f0: 49 6e 74 65 72 6e 65 74 c2 a0 43 6f 72 70 6f 72 Internet..Corpor
0100: 61 74 69 6f 6e c2 a0 66 6f 72 c2 a0 41 73 73 69 ation..for..Assi
0110: 67 6e 65 64 c2 a0 4e 61 6d 65 73 c2 a0 61 6e 64 gned..Names..and
0120: c2 a0 4e 75 6d 62 65 72 73 31 18 30 16 06 03 55 ..Numbers1.0...U
0130: 04 03 13 0f 77 77 77 2e 65 78 61 6d 70 6c 65 2e ....www.example.
0140: 6f 72 67 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 org0.."0...*.H..
0150: 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a 02 ...........0....
0160: 82 01 01 00 c2 80 77 89 59 b8 45 6f ba 4a d9 11 ......w.Y.Eo.J..
0170: fa 7b ad c7 57 d0 7a fb b6 fa dd 05 bb a2 81 71 .{..W.z........q
0180: bb e1 7f 21 d2 5f 2e f0 d2 72 4e 75 34 f8 8d 62 ...!._...rNu4..b
0190: e3 4a da 51 90 d4 01 3d 9c 0c c0 71 f7 e6 2f b6 .J.Q...=...q../.
01a0: d6 07 67 26 d0 de ff 17 ce f0 85 fd 31 c1 66 ca ..g&........1.f.
01b0: 87 65 05 47 2a 5f c0 ab b8 8c c3 bf d0 17 7f 63 .e.G*_.........c
01c0: a3 5c f0 46 fb 86 aa fb 4d d7 2a 5e 7f 9a e0 13 .\.F....M.*^....
01d0: 97 7d be fb 7d 35 57 0d 5d 5e 81 98 35 ea 16 42 .}..}5W.]^..5..B
01e0: a2 d3 b0 74 f7 59 2d ed 38 e7 fe 7a 1b b3 36 e6 ...t.Y-.8..z..6.
01f0: 7e ae 3f 9e a6 16 83 de 53 01 4e 81 00 ae bb 42 ~.?.....S.N....B
0200: f5 1f 75 29 34 cd e9 84 80 38 ae 3c 37 14 c0 f0 ..u)4....8.<7...
0210: 27 ce 30 52 b9 8a dc 5f 22 a0 79 f8 4f 4e 49 04 '.0R..._".y.ONI.
0220: e2 75 7c aa 2f 2a 1e 03 ec 71 4c a3 2a 61 fc 6f .u|./*...qL.*a.o
0230: ca 91 1e 93 5a 2e 78 08 58 f6 ee bb 34 20 5d 9a ....Z.x.X...4 ].
0240: e6 af c6 d7 f2 bf 0a 7b fa 8e 92 77 e3 6c 7b 0c .......{...w.l{.
0250: 40 86 64 4a 15 ec 70 d7 72 8e 63 30 e1 0b ef 5a @.dJ..p.r.c0...Z
0260: 30 97 2e 25 02 03 01 00 01 a3 82 03 d8 30 82 03 0..%.........0..
0270: d4 30 1f 06 03 55 1d 23 04 18 30 16 80 14 b7 6b .0...U.#..0....k
0280: a2 ea a8 aa 84 8c 79 ea b4 da 0f 98 b2 c5 95 76 ......y........v
0290: b9 f4 30 1d 06 03 55 1d 0e 04 16 04 14 b0 93 3f ..0...U........?
02a0: e8 17 82 fd 6c b2 b6 17 87 cb e3 80 fe 82 9b 01 ....l...........
02b0: 9e 30 81 81 06 03 55 1d 11 04 7a 30 78 82 0f 77 .0....U...z0x..w
02c0: 77 77 2e 65 78 61 6d 70 6c 65 2e 6f 72 67 82 0b ww.example.org..
02d0: 65 78 61 6d 70 6c 65 2e 6e 65 74 82 0b 65 78 61 example.net..exa
02e0: 6d 70 6c 65 2e 65 64 75 82 0b 65 78 61 6d 70 6c mple.edu..exampl
02f0: 65 2e 63 6f 6d 82 0b 65 78 61 6d 70 6c 65 2e 6f e.com..example.o
0300: 72 67 82 0f 77 77 77 2e 65 78 61 6d 70 6c 65 2e rg..www.example.
0310: 63 6f 6d 82 0f 77 77 77 2e 65 78 61 6d 70 6c 65 com..www.example
0320: 2e 65 64 75 82 0f 77 77 77 2e 65 78 61 6d 70 6c .edu..www.exampl
0330: 65 2e 6e 65 74 30 0e 06 03 55 1d 0f 01 01 ff 04 e.net0...U......
0340: 04 03 02 05 a0 30 1d 06 03 55 1d 25 04 16 30 14 .....0...U.%..0.
0350: 06 08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 05 ..+.........+...
0360: 05 07 03 02 30 81 8f 06 03 55 1d 1f 04 81 87 30 ....0....U.....0
0370: 81 84 30 40 a0 3e a0 3c 86 3a 68 74 74 70 3a 2f ..0@.>.<.:http:/
0380: 2f 63 72 6c 33 2e 64 69 67 69 63 65 72 74 2e 63 /crl3.digicert.c
0390: 6f 6d 2f 44 69 67 69 43 65 72 74 54 4c 53 52 53 om/DigiCertTLSRS
03a0: 41 53 48 41 32 35 36 32 30 32 30 43 41 31 2d 34 ASHA2562020CA1-4
03b0: 2e 63 72 6c 30 40 a0 3e a0 3c 86 3a 68 74 74 70 .crl0@.>.<.:http
03c0: 3a 2f 2f 63 72 6c 34 2e 64 69 67 69 63 65 72 74 ://crl4.digicert
03d0: 2e 63 6f 6d 2f 44 69 67 69 43 65 72 74 54 4c 53 .com/DigiCertTLS
03e0: 52 53 41 53 48 41 32 35 36 32 30 32 30 43 41 31 RSASHA2562020CA1
03f0: 2d 34 2e 63 72 6c 30 3e 06 03 55 1d 20 04 37 30 -4.crl0>..U. .70
0400: 35 30 33 06 06 67 81 0c 01 02 02 30 29 30 27 06 503..g.....0)0'.
0410: 08 2b 06 01 05 05 07 02 01 16 1b 68 74 74 70 3a .+.........http:
0420: 2f 2f 77 77 77 2e 64 69 67 69 63 65 72 74 2e 63 //www.digicert.c
0430: 6f 6d 2f 43 50 53 30 7f 06 08 2b 06 01 05 05 07 om/CPS0...+.....
0440: 01 01 04 73 30 71 30 24 06 08 2b 06 01 05 05 07 ...s0q0$..+.....
0450: 30 01 86 18 68 74 74 70 3a 2f 2f 6f 63 73 70 2e 0...http://ocsp.
0460: 64 69 67 69 63 65 72 74 2e 63 6f 6d 30 49 06 08 digicert.com0I..
0470: 2b 06 01 05 05 07 30 02 86 3d 68 74 74 70 3a 2f +.....0..=http:/
0480: 2f 63 61 63 65 72 74 73 2e 64 69 67 69 63 65 72 /cacerts.digicer
0490: 74 2e 63 6f 6d 2f 44 69 67 69 43 65 72 74 54 4c t.com/DigiCertTL
04a0: 53 52 53 41 53 48 41 32 35 36 32 30 32 30 43 41 SRSASHA2562020CA
04b0: 31 2d 31 2e 63 72 74 30 09 06 03 55 1d 13 04 02 1-1.crt0...U....
04c0: 30 00 30 82 01 7f 06 0a 2b 06 01 04 01 d6 79 02 0.0.....+.....y.
04d0: 04 02 04 82 01 6f 04 82 01 6b 01 69 00 76 00 ee .....o...k.i.v..
04e0: cd d0 64 d5 db 1a ce c5 5c b7 9d b4 cd 13 a2 32 ..d.....\......2
04f0: 87 46 7c bc ec de c3 51 48 59 46 71 1f b5 9b 00 .F|....QHYFq....
0500: 00 01 85 ab 48 05 23 00 00 04 03 00 47 30 45 02 ....H.#.....G0E.
0510: 21 00 aa df 9f 2b a8 c5 74 60 3a b6 fd 04 5a df !....+..t`:...Z.
0520: 6b 6b 1d 16 60 15 78 ad ef 63 81 98 2a d3 38 b8 kk..`.x..c..*.8.
0530: d9 05 02 20 40 61 d7 22 a9 3e f8 17 d4 1a de 13 ... @a.".>......
0540: 4c 01 52 6a e2 39 55 21 25 2e fb 2a 01 75 f7 77 L.Rj.9U!%..*.u.w
0550: d3 db ce fb 00 77 00 73 d9 9e 89 1b 4c 96 78 a0 .....w.s....L.x.
0560: 20 7d 47 9d e6 b2 c6 1c d0 51 5e 71 19 2a 8c 6b  }G......Q^q.*.k
0570: 80 10 7a c1 77 72 b5 00 00 01 85 ab 48 05 9f 00 ..z.wr......H...
0580: 00 04 03 00 48 30 46 02 21 00 d7 64 94 14 ae 6b ....H0F.!..d...k
0590: 80 ba 91 ce f8 1c af b6 73 57 89 e5 f9 9b 7d 96 ........sW....}.
05a0: 5a 00 cd 12 df 3d ce ef 48 f0 02 21 00 97 3d bc Z....=..H..!..=.
05b0: 12 73 1d 6b 13 e0 63 15 ac 19 95 58 cb 8f fd 4f .s.k..c....X...O
05c0: b0 cd 0a 41 07 2c 7c 70 d9 25 44 cb c0 00 76 00 ...A.,|p.%D...v.
05d0: 48 b0 e3 6b da a6 47 34 0f e5 6a 02 fa 9d 30 eb H..k..G4..j...0.
05e0: 1c 52 01 cb 56 dd 2c 81 d9 bb bf ab 39 d8 84 73 .R..V.,.....9..s
05f0: 00 00 01 85 ab 48 05 5e 00 00 04 03 00 47 30 45 .....H.^.....G0E
0600: 02 21 00 de 5b 84 7b 61 a3 25 8c 27 70 90 07 fd .!..[.{a.%.'p...
0610: 62 60 51 21 32 05 15 90 58 47 0c cf e7 94 4f 53 b`Q!2...XG....OS
0620: 84 2c 21 02 20 0f bc f2 57 ca 9e da da 4c f0 25 .,!. ...W....L.%
0630: 7d cf ed fa 87 e5 79 28 de b3 e1 0b 34 68 5d 87 }.....y(....4h].
0640: 7a 5b e4 24 0a 30 0d 06 09 2a 86 48 86 f7 0d 01 z[.$.0...*.H....
0650: 01 0b 05 00 03 82 01 01 00 59 e4 4a d8 a9 82 ba .........Y.J....
0660: 9a 4a f1 63 0c 6d 76 26 75 b3 3c 74 be c5 f7 3d .J.c.mv&u.<t...=
0670: a7 91 92 f8 cf 06 2d 58 10 ed f3 b8 d6 fc 6c ff ......-X......l.
0680: 13 96 32 cd 4f e9 87 24 85 0b 74 a2 c2 f6 0f f5 ..2.O..$..t.....
0690: a7 d8 7d 76 8a ae e9 c9 58 2b 6e 00 6f b9 cd 24 ..}v....X+n.o..$
06a0: ee c4 42 c5 4c 16 85 9d 34 61 39 23 bf c6 8e 95 ..B.L...4a9#....
06b0: c9 84 a9 b2 e5 41 0f 44 78 d7 95 b9 cf d9 74 bf .....A.Dx.....t.
06c0: 58 4f e7 16 ff 7c 40 30 c4 6c 4e 22 4d cb 83 67 XO...|@0.lN"M..g
06d0: 3a 93 bf 2b c5 c5 9c 1a f2 43 a1 25 3b 84 f6 f7 :..+.....C.%;...
06e0: 53 6e a8 85 ae de 14 74 91 30 06 0d f2 07 d4 c4 Sn.....t.0......
06f0: 08 ba 43 64 c5 e2 3f da ac c5 41 af a4 37 e8 42 ..Cd..?...A..7.B
0700: 76 74 f7 13 bb 4a 7d 36 59 81 9b c7 44 df 89 73 vt...J}6Y...D..s
0710: b9 33 42 e8 60 c2 4d 61 5d 12 5a 10 f6 ef ff 33 .3B.`.Ma].Z....3
0720: 89 14 50 e8 d6 9f c6 b9 5c 2b 35 db ad ed dd 36 ..P.....\+5....6
0730: b6 25 f2 95 8a ac 69 3f 9a fe 1a f8 15 28 6d ea .%....i?.....(m.
0740: 18 5a c2 d2 62 18 af 40 78 b5 fa 5e 09 8f 53 f9 .Z..b..@x..^..S.
0750: cc f8 23 a1 83 31 23 f4 c6 00 00 00 04 c2 30 82 ..#..1#.......0.
0760: 04 be 30 82 03 a6 a0 03 02 01 02 02 10 06 d8 d9 ..0.............
0770: 04 d5 58 43 46 f6 8a 2f a7 54 22 7e c4 30 0d 06 ..XCF../.T"~.0..
0780: 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 61 31 0b .*.H........0a1.
0790: 30 09 06 03 55 04 06 13 02 55 53 31 15 30 13 06 0...U....US1.0..
07a0: 03 55 04 0a 13 0c 44 69 67 69 43 65 72 74 20 49 .U....DigiCert I
07b0: 6e 63 31 19 30 17 06 03 55 04 0b 13 10 77 77 77 nc1.0...U....www
07c0: 2e 64 69 67 69 63 65 72 74 2e 63 6f 6d 31 20 30 .digicert.com1 0
07d0: 1e 06 03 55 04 03 13 17 44 69 67 69 43 65 72 74 ...U....DigiCert
07e0: 20 47 6c 6f 62 61 6c 20 52 6f 6f 74 20 43 41 30  Global Root CA0
07f0: 1e 17 0d 32 31 30 34 31 34 30 30 30 30 30 30 5a ...210414000000Z
0800: 17 0d 33 31 30 34 31 33 32 33 35 39 35 39 5a 30 ..310413235959Z0
0810: 4f 31 0b 30 09 06 03 55 04 06 13 02 55 53 31 15 O1.0...U....US1.
0820: 30 13 06 03 55 04 0a 13 0c 44 69 67 69 43 65 72 0...U....DigiCer
0830: 74 20 49 6e 63 31 29 30 27 06 03 55 04 03 13 20 t Inc1)0'..U... 
0840: 44 69 67 69 43 65 72 74 20 54 4c 53 20 52 53 41 DigiCert TLS RSA
0850: 20 53 48 41 32 35 36 20 32 30 32 30 20 43 41 31  SHA256 2020 CA1
0860: 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0.."0...*.H.....
0870: 01 05 00 03 82 01 0f 00 30 82 01 0a 02 82 01 01 ........0.......
0880: 00 c1 4b b3 65 47 70 bc dd 4f 58 db ec 9c ed c3 ..K.eGp..OX.....
0890: 66 e5 1f 31 13 54 ad 4a 66 46 1f 2c 0a ec 64 07 f..1.T.JfF.,..d.
08a0: e5 2e dc dc b9 0a 20 ed df e3 c4 d0 9e 9a a9 7a ...... ........z
08b0: 1d 82 88 e5 11 56 db 1e 9f 58 c2 51 e7 2c 34 0d .....V...X.Q.,4.
08c0: 2e d2 92 e1 56 cb f1 79 5f b3 bb 87 ca 25 03 7b ....V..y_....%.{
08d0: 9a 52 41 66 10 60 4f 57 13 49 f0 e8 37 67 83 df .RAf.`OW.I..7g..
08e0: e7 d3 4b 67 4c 22 51 a6 df 0e 99 10 ed 57 51 74 ..KgL"Q......WQt
08f0: 26 e2 7d c7 ca 62 2e 13 1b 7f 23 88 25 53 6f c1 &.}..b....#.%So.
0900: 34 58 00 8b 84 ff f8 be a7 58 49 22 7b 96 ad a2 4X.......XI"{...
0910: 88 9b 15 bc a0 7c df e9 51 a8 d5 b0 ed 37 e2 36 .....|..Q....7.6
0920: b4 82 4b 62 b5 49 9a ec c7 67 d6 e3 3e f5 e3 d6 ..Kb.I...g..>...
0930: 12 5e 44 f1 bf 71 42 7d 58 84 03 80 b1 81 01 fa .^D..qB}X.......
0940: f9 ca 32 bb b4 8e 27 87 27 c5 2b 74 d4 a8 d6 97 ..2...'.'.+t....
0950: de c3 64 f9 ca ce 53 a2 56 bc 78 17 8e 49 03 29 ..d...S.V.x..I.)
0960: ae fb 49 4f a4 15 b9 ce f2 5c 19 57 6d 6b 79 a7 ..IO.....\.Wmky.
0970: 2b a2 27 20 13 b5 d0 3d 40 d3 21 30 07 93 ea 99 +.' ...=@.!0....
0980: f5 02 03 01 00 01 a3 82 01 82 30 82 01 7e 30 12 ..........0..~0.
0990: 06 03 55 1d 13 01 01 ff 04 08 30 06 01 01 ff 02 ..U.......0.....
09a0: 01 00 30 1d 06 03 55 1d 0e 04 16 04 14 b7 6b a2 ..0...U.......k.
09b0: ea a8 aa 84 8c 79 ea b4 da 0f 98 b2 c5 95 76 b9 .....y........v.
09c0: f4 30 1f 06 03 55 1d 23 04 18 30 16 80 14 03 de .0...U.#..0.....
09d0: 50 35 56 d1 4c bb 66 f0 a3 e2 1b 1b c3 97 b2 3d P5V.L.f........=
09e0: d1 55 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 .U0...U.........
09f0: 01 86 30 1d 06 03 55 1d 25 04 16 30 14 06 08 2b ..0...U.%..0...+
0a00: 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 .........+......
0a10: 02 30 76 06 08 2b 06 01 05 05 07 01 01 04 6a 30 .0v..+........j0
0a20: 68 30 24 06 08 2b 06 01 05 05 07 30 01 86 18 68 h0$..+.....0...h
0a30: 74 74 70 3a 2f 2f 6f 63 73 70 2e 64 69 67 69 63 ttp://ocsp.digic
0a40: 65 72 74 2e 63 6f 6d 30 40 06 08 2b 06 01 05 05 ert.com0@..+....
0a50: 07 30 02 86 34 68 74 74 70 3a 2f 2f 63 61 63 65 .0..4http://cace
0a60: 72 74 73 2e 64 69 67 69 63 65 72 74 2e 63 6f 6d rts.digicert.com
0a70: 2f 44 69 67 69 43 65 72 74 47 6c 6f 62 61 6c 52 /DigiCertGlobalR
0a80: 6f 6f 74 43 41 2e 63 72 74 30 42 06 03 55 1d 1f ootCA.crt0B..U..
0a90: 04 3b 30 39 30 37 a0 35 a0 33 86 31 68 74 74 70 .;0907.5.3.1http
0aa0: 3a 2f 2f 63 72 6c 33 2e 64 69 67 69 63 65 72 74 ://crl3.digicert
0ab0: 2e 63 6f 6d 2f 44 69 67 69 43 65 72 74 47 6c 6f .com/DigiCertGlo
0ac0: 62 61 6c 52 6f 6f 74 43 41 2e 63 72 6c 30 3d 06 balRootCA.crl0=.
0ad0: 03 55 1d 20 04 36 30 34 30 0b 06 09 60 86 48 01 .U. .6040...`.H.
0ae0: 86 fd 6c 02 01 30 07 06 05 67 81 0c 01 01 30 08 ..l..0...g....0.
0af0: 06 06 67 81 0c 01 02 01 30 08 06 06 67 81 0c 01 ..g.....0...g...
0b00: 02 02 30 08 06 06 67 81 0c 01 02 03 30 0d 06 09 ..0...g.....0...
0b10: 2a 86 48 86 f7 0d 01 01 0b 05 00 03 82 01 01 00 *.H.............
0b20: 80 32 ce 5e 0b dd 6e 5a 0d 0a af e1 d6 84 cb c0 .2.^..nZ........
0b30: 8e fa 85 70 ed da 5d b3 0c f7 2b 75 40 fe 85 0a ...p..]...+u@...
0b40: fa f3 31 78 b7 70 4b 1a 89 58 ba 80 bd f3 6b 1d ..1x.pK..X....k.
0b50: e9 7e cf 0b ba 58 9c 59 d4 90 d3 fd 6c fd d0 98 .~...X.Y....l...
0b60: 6d b7 71 82 5b cf 6d 0b 5a 09 d0 7b de c4 43 d8 m.q.[.m.Z..{..C.
0b70: 2a a4 de 9e 41 26 5f bb 8f 99 cb dd ae e1 a8 6f *...A&_........o
0b80: 9f 87 fe 74 b7 1f 1b 20 ab b1 4f c6 f5 67 5d 5d ...t... ..O..g]]
0b90: 9b 3c e9 ff 69 f7 61 6c d6 d9 f3 fd 36 c6 ab 03 .<..i.al....6...
0ba0: 88 76 d2 4b 2e 75 86 e3 fc d8 55 7d 26 c2 11 77 .v.K.u....U}&..w
0bb0: df 3e 02 b6 7c f3 ab 7b 7a 86 36 6f b8 f7 d8 93 .>..|..{z.6o....
0bc0: 71 cf 86 df 73 30 fa 7b ab ed 2a 59 c8 42 84 3b q...s0.{..*Y.B.;
0bd0: 11 17 1a 52 f3 c9 0e 14 7d a2 5b 72 67 ba 71 ed ...R....}.[rg.q.
0be0: 57 47 66 c5 b8 02 4a 65 34 5e 8b d0 2a 3c 20 9c WGf...Je4^..*< .
0bf0: 51 99 4c e7 52 9e f7 6b 11 2b 0d 92 7e 1d e8 8a Q.L.R..k.+..~...
0c00: eb 36 16 43 87 ea 2a 63 bf 75 3f eb de c4 03 bb .6.C..*c.u?.....
0c10: 0a 3c f7 30 ef eb af 4c fc 8b 36 10 73 3e f3 a4 .<.0...L..6.s>..
0c20: 00 00                                           ..
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 01 19                                  .....
<= Recv SSL data, 1 bytes (0x1)
0000: 16                                              .
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, CERT verify (15):
<= Recv SSL data, 264 bytes (0x108)
0000: 0f 00 01 04 08 04 01 00 78 5f e4 1b bb bd 2f 4c ........x_..../L
0010: 0b f6 c4 d7 2f 96 45 78 16 98 1e e9 e4 8a 65 77 ..../.Ex......ew
0020: f9 3e 0e 4c 30 89 b2 4d 48 b4 3c 9b 5e 1e 1f 78 .>.L0..MH.<.^..x
0030: 6d 05 9f 77 53 45 85 8b d8 e9 1a f2 ca 68 0d ee m..wSE.......h..
0040: 82 fc d6 fe 81 5f 61 f4 91 98 83 06 05 e9 6b b7 ....._a.......k.
0050: d5 71 8b 6f 90 0d cc 3d 11 7d df b4 4a 47 7a 53 .q.o...=.}..JGzS
0060: 9e 39 75 b6 54 28 be 55 ab a5 03 6d c9 da 7d 6d .9u.T(.U...m..}m
0070: 73 3f 7a 96 f2 f7 6e be 10 1d 0e 77 1d f9 b3 9d s?z...n....w....
0080: af 28 51 72 85 83 c6 70 a8 6d d8 2d b1 11 ef af .(Qr...p.m.-....
0090: 65 e9 7f 8e 6b c7 6d 02 5d b0 61 f7 22 78 55 b6 e...k.m.].a."xU.
00a0: e0 ef 27 24 76 af 2a ee 45 b8 ee 3d 4e b3 c2 66 ..'$v.*.E..=N..f
00b0: 23 10 26 f4 e0 9d 23 e4 e5 e4 a0 04 cd 76 4e c7 #.&...#......vN.
00c0: c9 23 2b 5f 6e 38 3e 55 6d 81 77 01 80 db 58 df .#+_n8>Um.w...X.
00d0: 41 a5 ce 76 90 75 fa f9 a5 27 f9 f8 91 7c 59 95 A..v.u...'...|Y.
00e0: 7f 01 07 b7 50 f3 b1 b3 32 cd 00 9c 90 e1 5f 24 ....P...2....._$
00f0: d1 fd 2c 05 fa c7 72 48 5e be 48 52 82 98 87 ad ..,...rH^.HR....
0100: a4 d0 41 ff 43 33 22 3b                         ..A.C3";
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 45                                  ....E
<= Recv SSL data, 1 bytes (0x1)
0000: 16                                              .
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Finished (20):
<= Recv SSL data, 52 bytes (0x34)
0000: 14 00 00 30 27 c3 eb 63 80 b8 4d 00 e9 d0 b0 7b ...0'..c..M....{
0010: a7 c3 36 3d d9 0e f6 80 95 48 71 62 88 13 b0 f1 ..6=.....Hqb....
0020: 0c 57 ae 21 53 78 78 1e 2c 7c a7 92 5a 27 22 90 .W.!Sxx.,|..Z'".
0030: dd 5d d2 86                                     .]..
=> Send SSL data, 5 bytes (0x5)
0000: 17 03 03 00 45                                  ....E
=> Send SSL data, 1 bytes (0x1)
0000: 16                                              .
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Finished (20):
=> Send SSL data, 52 bytes (0x34)
0000: 14 00 00 30 84 62 a0 d7 5b 61 96 ab 79 af de 5e ...0.b..[a..y..^
0010: 03 35 cc 7f b5 d3 97 3d 7e 4f ce c2 e8 2b 8d 50 .5.....=~O...+.P
0020: bf a5 5a 46 aa b5 5c b6 f9 4d 15 d8 e5 a5 fa 4d ..ZF..\..M.....M
0030: ff a1 41 c3                                     ..A.
== Info: SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
== Info: ALPN: server accepted h2
== Info: Server certificate:
== Info:  subject: C=US; ST=California; L=Los Angeles; O=Internet\A0Corporation\A0for\A0Assigned\A0Names\A0and\A0Numbers; CN=www.example.org
== Info:  start date: Jan 13 00:00:00 2023 GMT
== Info:  expire date: Feb 13 23:59:59 2024 GMT
== Info:  subjectAltName: host "example.org" matched cert's "example.org"
== Info:  issuer: C=US; O=DigiCert Inc; CN=DigiCert TLS RSA SHA256 2020 CA1
== Info:  SSL certificate verify ok.
== Info: Using HTTP2, server supports multiplexing
== Info: Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
=> Send SSL data, 5 bytes (0x5)
0000: 17 03 03 00 29                                  ....)
=> Send SSL data, 1 bytes (0x1)
0000: 17                                              .
=> Send SSL data, 5 bytes (0x5)
0000: 17 03 03 00 2c                                  ....,
=> Send SSL data, 1 bytes (0x1)
0000: 17                                              .
=> Send SSL data, 5 bytes (0x5)
0000: 17 03 03 00 1e                                  .....
=> Send SSL data, 1 bytes (0x1)
0000: 17                                              .
== Info: h2h3 [:method: POST]
== Info: h2h3 [:path: /]
== Info: h2h3 [:scheme: https]
== Info: h2h3 [:authority: example.org]
== Info: h2h3 [user-agent: curl/7.87.0]
== Info: h2h3 [accept: */*]
== Info: h2h3 [content-length: 24]
== Info: h2h3 [content-type: application/x-www-form-urlencoded]
== Info: Using Stream ID: 1 (easy handle 0x1880c191560)
=> Send SSL data, 5 bytes (0x5)
0000: 17 03 03 00 55                                  ....U
=> Send SSL data, 1 bytes (0x1)
0000: 17                                              .
=> Send header, 143 bytes (0x8f)
0000: 50 4f 53 54 20 2f 20 48 54 54 50 2f 32 0d 0a 48 POST / HTTP/2..H
0010: 6f 73 74 3a 20 65 78 61 6d 70 6c 65 2e 6f 72 67 ost: example.org
0020: 0d 0a 75 73 65 72 2d 61 67 65 6e 74 3a 20 63 75 ..user-agent: cu
0030: 72 6c 2f 37 2e 38 37 2e 30 0d 0a 61 63 63 65 70 rl/7.87.0..accep
0040: 74 3a 20 2a 2f 2a 0d 0a 63 6f 6e 74 65 6e 74 2d t: */*..content-
0050: 6c 65 6e 67 74 68 3a 20 32 34 0d 0a 63 6f 6e 74 length: 24..cont
0060: 65 6e 74 2d 74 79 70 65 3a 20 61 70 70 6c 69 63 ent-type: applic
0070: 61 74 69 6f 6e 2f 78 2d 77 77 77 2d 66 6f 72 6d ation/x-www-form
0080: 2d 75 72 6c 65 6e 63 6f 64 65 64 0d 0a 0d 0a    -urlencoded....
=> Send SSL data, 5 bytes (0x5)
0000: 17 03 03 00 32                                  ....2
=> Send SSL data, 1 bytes (0x1)
0000: 17                                              .
=> Send data, 24 bytes (0x18)
0000: 43 3a 2f 50 72 6f 67 72 61 6d 20 46 69 6c 65 73 C:/Program Files
0010: 2f 47 69 74 2f 31 32 33                         /Git/123
== Info: We are completely uploaded and fine
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 fa                                  .....
<= Recv SSL data, 1 bytes (0x1)
0000: 16                                              .
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
<= Recv SSL data, 233 bytes (0xe9)
0000: 04 00 00 e5 00 00 1c 20 22 0e 4f 38 08 00 00 00 ....... ".O8....
0010: 00 00 00 00 00 00 d0 9f 7b 59 bd d3 7e bd f1 9c ........{Y..~...
0020: 65 c5 f8 41 98 91 ea 70 33 4f 63 a9 c7 72 51 77 e..A...p3Oc..rQw
0030: 4d b9 51 79 0b 20 c5 78 d6 47 c4 4c b9 87 ef 0e M.Qy. .x.G.L....
0040: 0d a2 8f 99 93 f3 71 48 44 63 b9 09 52 0c 98 e1 ......qHDc..R...
0050: ff 5e d1 a1 49 3e fd 03 69 78 5c 46 aa 05 8b 47 .^..I>..ix\F...G
0060: 3e 7e 6d 3e 8e c4 90 97 ce 33 aa 1d af 1d a0 dc >~m>.....3......
0070: 05 77 54 8c fd f8 4a 3e 89 e2 6a d0 81 e6 29 e1 .wT...J>..j...).
0080: e2 81 b0 a0 61 50 a6 f6 ba 1f 4d 96 b9 3b 19 2c ....aP....M..;.,
0090: de 34 85 5d 6a 3a cc 3d 2e c3 bf 15 0a 3d f2 65 .4.]j:.=.....=.e
00a0: 9e 89 92 ef bf 3f 48 2a e8 a2 bf 62 89 7f 80 95 .....?H*...b....
00b0: 36 7b 3a b8 a5 66 87 f2 c7 2d fe f3 56 fd a1 b3 6{:..f...-..V...
00c0: d5 92 2e 85 9f 7a 65 ba 60 fc 4a 05 6e 72 e7 55 .....ze.`.J.nr.U
00d0: e7 00 77 8a 1d 55 32 9f 9d 97 d4 16 34 bb 6d 87 ..w..U2.....4.m.
00e0: 5c d4 85 69 61 4c 8d 00 00                      \..iaL...
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 fa                                  .....
<= Recv SSL data, 1 bytes (0x1)
0000: 16                                              .
== Info: [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
<= Recv SSL data, 233 bytes (0xe9)
0000: 04 00 00 e5 00 00 1c 20 8d bd af ef 08 00 00 00 ....... ........
0010: 00 00 00 00 01 00 d0 9f 7b 59 bd d3 7e bd f1 9c ........{Y..~...
0020: 65 c5 f8 41 98 91 ea 31 3f de 1b 6b f1 c9 b1 dd e..A...1?..k....
0030: 13 dc 97 85 4d 74 46 4c f9 9f 32 13 39 16 83 b2 ....MtFL..2.9...
0040: e6 f7 9c 63 20 5b c6 7b cd c9 24 c2 26 19 63 d7 ...c [.{..$.&.c.
0050: 6d f5 a6 81 d1 3b 23 50 13 82 c9 0a b1 7f 60 9c m....;#P......`.
0060: 05 88 d4 0f 0b 18 2e f8 2e ea ef 12 d7 11 77 bb ..............w.
0070: 3c 1c 9b dd c7 6a 6c 3a 86 88 fa 74 49 44 65 63 <....jl:...tIDec
0080: 78 b4 23 27 c3 4a 33 6b 14 39 28 95 cd 4a d5 8c x.#'.J3k.9(..J..
0090: 43 05 30 ca 6a c6 40 ed 4a 23 a4 06 91 26 67 3b C.0.j.@.J#...&g;
00a0: f1 4b 22 b8 2e 7d 99 fe d8 71 b9 ae f7 83 63 4e .K"..}...q....cN
00b0: c5 eb 41 29 d8 3d 12 4a 82 f3 13 c9 70 f1 71 1d ..A).=.J....p.q.
00c0: 40 ae 7b 77 2e b2 95 8a c0 b2 25 1b 02 59 7b 3a @.{w......%..Y{:
00d0: b0 36 73 2a b2 5b 4e dc 24 3e 2f e4 58 b0 6b 9f .6s*.[N.$>/.X.k.
00e0: 5c a3 cc b5 4c 24 da 00 00                      \...L$...
== Info: old SSL session ID is stale, removing
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 38                                  ....8
<= Recv SSL data, 1 bytes (0x1)
0000: 17                                              .
=> Send SSL data, 5 bytes (0x5)
0000: 17 03 03 00 1a                                  .....
=> Send SSL data, 1 bytes (0x1)
0000: 17                                              .
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 1e                                  .....
<= Recv SSL data, 1 bytes (0x1)
0000: 17                                              .
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 1a                                  .....
<= Recv SSL data, 1 bytes (0x1)
0000: 17                                              .
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 aa                                  .....
<= Recv SSL data, 1 bytes (0x1)
0000: 17                                              .
<= Recv header, 13 bytes (0xd)
0000: 48 54 54 50 2f 32 20 32 30 30 20 0d 0a          HTTP/2 200 ..
<= Recv header, 22 bytes (0x16)
0000: 61 63 63 65 70 74 2d 72 61 6e 67 65 73 3a 20 62 accept-ranges: b
0010: 79 74 65 73 0d 0a                               ytes..
<= Recv header, 31 bytes (0x1f)
0000: 63 61 63 68 65 2d 63 6f 6e 74 72 6f 6c 3a 20 6d cache-control: m
0010: 61 78 2d 61 67 65 3d 36 30 34 38 30 30 0d 0a    ax-age=604800..
<= Recv header, 40 bytes (0x28)
0000: 63 6f 6e 74 65 6e 74 2d 74 79 70 65 3a 20 74 65 content-type: te
0010: 78 74 2f 68 74 6d 6c 3b 20 63 68 61 72 73 65 74 xt/html; charset
0020: 3d 55 54 46 2d 38 0d 0a                         =UTF-8..
<= Recv header, 37 bytes (0x25)
0000: 64 61 74 65 3a 20 4d 6f 6e 2c 20 31 32 20 4a 75 date: Mon, 12 Ju
0010: 6e 20 32 30 32 33 20 31 36 3a 30 35 3a 31 36 20 n 2023 16:05:16 
0020: 47 4d 54 0d 0a                                  GMT..
<= Recv header, 20 bytes (0x14)
0000: 65 74 61 67 3a 20 22 33 31 34 37 35 32 36 39 34 etag: "314752694
0010: 37 22 0d 0a                                     7"..
<= Recv header, 40 bytes (0x28)
0000: 65 78 70 69 72 65 73 3a 20 4d 6f 6e 2c 20 31 39 expires: Mon, 19
0010: 20 4a 75 6e 20 32 30 32 33 20 31 36 3a 30 35 3a  Jun 2023 16:05:
0020: 31 36 20 47 4d 54 0d 0a                         16 GMT..
<= Recv header, 46 bytes (0x2e)
0000: 6c 61 73 74 2d 6d 6f 64 69 66 69 65 64 3a 20 54 last-modified: T
0010: 68 75 2c 20 31 37 20 4f 63 74 20 32 30 31 39 20 hu, 17 Oct 2019 
0020: 30 37 3a 31 38 3a 32 36 20 47 4d 54 0d 0a       07:18:26 GMT..
<= Recv header, 24 bytes (0x18)
0000: 73 65 72 76 65 72 3a 20 45 4f 53 20 28 76 6e 79 server: EOS (vny
0010: 2f 30 34 35 30 29 0d 0a                         /0450)..
<= Recv header, 22 bytes (0x16)
0000: 63 6f 6e 74 65 6e 74 2d 6c 65 6e 67 74 68 3a 20 content-length: 
0010: 31 32 35 36 0d 0a                               1256..
<= Recv header, 2 bytes (0x2)
0000: 0d 0a                                           ..
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 1a                                  .....
<= Recv SSL data, 1 bytes (0x1)
0000: 17                                              .
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 04 f9                                  .....
<= Recv SSL data, 1 bytes (0x1)
0000: 17                                              .
<= Recv data, 1256 bytes (0x4e8)
0000: 3c 21 64 6f 63 74 79 70 65 20 68 74 6d 6c 3e 0a <!doctype html>.
0010: 3c 68 74 6d 6c 3e 0a 3c 68 65 61 64 3e 0a 20 20 <html>.<head>.  
0020: 20 20 3c 74 69 74 6c 65 3e 45 78 61 6d 70 6c 65   <title>Example
0030: 20 44 6f 6d 61 69 6e 3c 2f 74 69 74 6c 65 3e 0a  Domain</title>.
0040: 0a 20 20 20 20 3c 6d 65 74 61 20 63 68 61 72 73 .    <meta chars
0050: 65 74 3d 22 75 74 66 2d 38 22 20 2f 3e 0a 20 20 et="utf-8" />.  
0060: 20 20 3c 6d 65 74 61 20 68 74 74 70 2d 65 71 75   <meta http-equ
0070: 69 76 3d 22 43 6f 6e 74 65 6e 74 2d 74 79 70 65 iv="Content-type
0080: 22 20 63 6f 6e 74 65 6e 74 3d 22 74 65 78 74 2f " content="text/
0090: 68 74 6d 6c 3b 20 63 68 61 72 73 65 74 3d 75 74 html; charset=ut
00a0: 66 2d 38 22 20 2f 3e 0a 20 20 20 20 3c 6d 65 74 f-8" />.    <met
00b0: 61 20 6e 61 6d 65 3d 22 76 69 65 77 70 6f 72 74 a name="viewport
00c0: 22 20 63 6f 6e 74 65 6e 74 3d 22 77 69 64 74 68 " content="width
00d0: 3d 64 65 76 69 63 65 2d 77 69 64 74 68 2c 20 69 =device-width, i
00e0: 6e 69 74 69 61 6c 2d 73 63 61 6c 65 3d 31 22 20 nitial-scale=1" 
00f0: 2f 3e 0a 20 20 20 20 3c 73 74 79 6c 65 20 74 79 />.    <style ty
0100: 70 65 3d 22 74 65 78 74 2f 63 73 73 22 3e 0a 20 pe="text/css">. 
0110: 20 20 20 62 6f 64 79 20 7b 0a 20 20 20 20 20 20    body {.      
0120: 20 20 62 61 63 6b 67 72 6f 75 6e 64 2d 63 6f 6c   background-col
0130: 6f 72 3a 20 23 66 30 66 30 66 32 3b 0a 20 20 20 or: #f0f0f2;.   
0140: 20 20 20 20 20 6d 61 72 67 69 6e 3a 20 30 3b 0a      margin: 0;.
0150: 20 20 20 20 20 20 20 20 70 61 64 64 69 6e 67 3a         padding:
0160: 20 30 3b 0a 20 20 20 20 20 20 20 20 66 6f 6e 74  0;.        font
0170: 2d 66 61 6d 69 6c 79 3a 20 2d 61 70 70 6c 65 2d -family: -apple-
0180: 73 79 73 74 65 6d 2c 20 73 79 73 74 65 6d 2d 75 system, system-u
0190: 69 2c 20 42 6c 69 6e 6b 4d 61 63 53 79 73 74 65 i, BlinkMacSyste
01a0: 6d 46 6f 6e 74 2c 20 22 53 65 67 6f 65 20 55 49 mFont, "Segoe UI
01b0: 22 2c 20 22 4f 70 65 6e 20 53 61 6e 73 22 2c 20 ", "Open Sans", 
01c0: 22 48 65 6c 76 65 74 69 63 61 20 4e 65 75 65 22 "Helvetica Neue"
01d0: 2c 20 48 65 6c 76 65 74 69 63 61 2c 20 41 72 69 , Helvetica, Ari
01e0: 61 6c 2c 20 73 61 6e 73 2d 73 65 72 69 66 3b 0a al, sans-serif;.
01f0: 20 20 20 20 20 20 20 20 0a 20 20 20 20 7d 0a 20         .    }. 
0200: 20 20 20 64 69 76 20 7b 0a 20 20 20 20 20 20 20    div {.       
0210: 20 77 69 64 74 68 3a 20 36 30 30 70 78 3b 0a 20  width: 600px;. 
0220: 20 20 20 20 20 20 20 6d 61 72 67 69 6e 3a 20 35        margin: 5
0230: 65 6d 20 61 75 74 6f 3b 0a 20 20 20 20 20 20 20 em auto;.       
0240: 20 70 61 64 64 69 6e 67 3a 20 32 65 6d 3b 0a 20  padding: 2em;. 
0250: 20 20 20 20 20 20 20 62 61 63 6b 67 72 6f 75 6e        backgroun
0260: 64 2d 63 6f 6c 6f 72 3a 20 23 66 64 66 64 66 66 d-color: #fdfdff
0270: 3b 0a 20 20 20 20 20 20 20 20 62 6f 72 64 65 72 ;.        border
0280: 2d 72 61 64 69 75 73 3a 20 30 2e 35 65 6d 3b 0a -radius: 0.5em;.
0290: 20 20 20 20 20 20 20 20 62 6f 78 2d 73 68 61 64         box-shad
02a0: 6f 77 3a 20 32 70 78 20 33 70 78 20 37 70 78 20 ow: 2px 3px 7px 
02b0: 32 70 78 20 72 67 62 61 28 30 2c 30 2c 30 2c 30 2px rgba(0,0,0,0
02c0: 2e 30 32 29 3b 0a 20 20 20 20 7d 0a 20 20 20 20 .02);.    }.    
02d0: 61 3a 6c 69 6e 6b 2c 20 61 3a 76 69 73 69 74 65 a:link, a:visite
02e0: 64 20 7b 0a 20 20 20 20 20 20 20 20 63 6f 6c 6f d {.        colo
02f0: 72 3a 20 23 33 38 34 38 38 66 3b 0a 20 20 20 20 r: #38488f;.    
0300: 20 20 20 20 74 65 78 74 2d 64 65 63 6f 72 61 74     text-decorat
0310: 69 6f 6e 3a 20 6e 6f 6e 65 3b 0a 20 20 20 20 7d ion: none;.    }
0320: 0a 20 20 20 20 40 6d 65 64 69 61 20 28 6d 61 78 .    @media (max
0330: 2d 77 69 64 74 68 3a 20 37 30 30 70 78 29 20 7b -width: 700px) {
0340: 0a 20 20 20 20 20 20 20 20 64 69 76 20 7b 0a 20 .        div {. 
0350: 20 20 20 20 20 20 20 20 20 20 20 6d 61 72 67 69            margi
0360: 6e 3a 20 30 20 61 75 74 6f 3b 0a 20 20 20 20 20 n: 0 auto;.     
0370: 20 20 20 20 20 20 20 77 69 64 74 68 3a 20 61 75        width: au
0380: 74 6f 3b 0a 20 20 20 20 20 20 20 20 7d 0a 20 20 to;.        }.  
0390: 20 20 7d 0a 20 20 20 20 3c 2f 73 74 79 6c 65 3e   }.    </style>
03a0: 20 20 20 20 0a 3c 2f 68 65 61 64 3e 0a 0a 3c 62     .</head>..<b
03b0: 6f 64 79 3e 0a 3c 64 69 76 3e 0a 20 20 20 20 3c ody>.<div>.    <
03c0: 68 31 3e 45 78 61 6d 70 6c 65 20 44 6f 6d 61 69 h1>Example Domai
03d0: 6e 3c 2f 68 31 3e 0a 20 20 20 20 3c 70 3e 54 68 n</h1>.    <p>Th
03e0: 69 73 20 64 6f 6d 61 69 6e 20 69 73 20 66 6f 72 is domain is for
03f0: 20 75 73 65 20 69 6e 20 69 6c 6c 75 73 74 72 61  use in illustra
0400: 74 69 76 65 20 65 78 61 6d 70 6c 65 73 20 69 6e tive examples in
0410: 20 64 6f 63 75 6d 65 6e 74 73 2e 20 59 6f 75 20  documents. You 
0420: 6d 61 79 20 75 73 65 20 74 68 69 73 0a 20 20 20 may use this.   
0430: 20 64 6f 6d 61 69 6e 20 69 6e 20 6c 69 74 65 72  domain in liter
0440: 61 74 75 72 65 20 77 69 74 68 6f 75 74 20 70 72 ature without pr
0450: 69 6f 72 20 63 6f 6f 72 64 69 6e 61 74 69 6f 6e ior coordination
0460: 20 6f 72 20 61 73 6b 69 6e 67 20 66 6f 72 20 70  or asking for p
0470: 65 72 6d 69 73 73 69 6f 6e 2e 3c 2f 70 3e 0a 20 ermission.</p>. 
0480: 20 20 20 3c 70 3e 3c 61 20 68 72 65 66 3d 22 68    <p><a href="h
0490: 74 74 70 73 3a 2f 2f 77 77 77 2e 69 61 6e 61 2e ttps://www.iana.
04a0: 6f 72 67 2f 64 6f 6d 61 69 6e 73 2f 65 78 61 6d org/domains/exam
04b0: 70 6c 65 22 3e 4d 6f 72 65 20 69 6e 66 6f 72 6d ple">More inform
04c0: 61 74 69 6f 6e 2e 2e 2e 3c 2f 61 3e 3c 2f 70 3e ation...</a></p>
04d0: 0a 3c 2f 64 69 76 3e 0a 3c 2f 62 6f 64 79 3e 0a .</div>.</body>.
04e0: 3c 2f 68 74 6d 6c 3e 0a                         </html>.
== Info: Connection #0 to host example.org left intact
bagder commented 1 year ago

=> Send data, 24 bytes (0x18) 0000: 43 3a 2f 50 72 6f 67 72 61 6d 20 46 69 6c 65 73 C:/Program Files 0010: 2f 47 69 74 2f 31 32 33 /Git/123

See, something in your system/shell decides to convert what looks like a unix path into what looks like a Windows path. This is not done by curl itself.

jay commented 1 year ago

Your shell is performing Unix to Windows path conversion when there is a forward slash in the argument. Whether you can disable it depends on the shell. Since the path is converted to a git path I'll assume you're using git for windows. Any recent version of git for windows you can disable it with MSYS_NO_PATHCONV=1. Also see this and this for MSYS2.

I wrote a tool getargs that dumps the arguments:

$ ./getargs /123
...
argv[1]: C:/Program Files/Git/123
$ MSYS_NO_PATHCONV=1 ./getargs /123
...
argv[1]: /123