Change #274984
| Category | curl |
| Changed by | Viktor Szakats <commit@vsz.me> |
| Changed at | Wed 15 Jul 2026 17:14:08 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | d52c7e78a3531f975591eb1bb1250185a9fd14c2 |
Comments
idn: restore `MultiByteToWideChar()` `MB_ERR_INVALID_CHARS` flag Also: - curlx: pass this flag to the actual conversion calls, for consistency and robustness. (It's not stricly necessary because the initial call to determine size, with this flag passed, fails already on bad input.) - schannel: unfold `MultiByteToWideChar()` line (formatting). Ref: https://learn.microsoft.com/windows/win32/api/stringapiset/nf-stringapiset-multibytetowidechar Follow-up to 6694a42aa0e820a6fe1e59d85ff8597b6d768d8d #19798 Closes #22326
Changed files
- lib/curlx/fopen.c
- lib/curlx/multibyte.c
- lib/idn.c
- lib/vtls/schannel.c