Файли
openidea/crates/ide-http/src
ntbang0901 8a26dff72b fix(http-client): keep query parameters written on separate lines (#8204)
A long request target can be split over indented lines in two layouts: lines starting with /, ? or &, and the "query parameters on separate lines" layout where `GET .../html?` is followed by indented `firstname=John&` lines. The parser joined only the first, so the second sent the request to `.../html?` and silently dropped every parameter, and the editor highlighted those lines as plain text.

An indented line now also continues a target whose last part ends in ? or &, in ide-http's parser and in the editor's highlighting; a protocol version after the last part is dropped as on the request line, and an indented header after a complete target stays a header.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-05 18:16:07 +08:00
..
2026-10-22 18:55:10 +08:00