summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/Window.cpp
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2020-05-02 22:48:40 +0430
committerAndreas Kling <kling@serenityos.org>2020-05-02 20:23:15 +0200
commita63e8c4a0374ffd3e20a67260753d051c9a9c8dc (patch)
tree2d88ba66a2bf1085e6ebf418f23cc614f1d06f0d /Libraries/LibGUI/Window.cpp
parentce0bed048277ee41ba09cb41f5961b11003840d0 (diff)
downloadserenity-a63e8c4a0374ffd3e20a67260753d051c9a9c8dc.zip
LibHTTP: Trim received data to Content-Length
Apparently servers will feel free to pad their response if they send one that contains a content-length field. We should not assume that the entirety of the response is valid data.
Diffstat (limited to 'Libraries/LibGUI/Window.cpp')
0 files changed, 0 insertions, 0 deletions