libreoffice-online/common
Ashod Nakashian 42f7796e68 wsd: prevent poco from inserting line breaks in hex bytes
An anti-feature, Poco's HexBinaryEncoder inserts
gratuitous line breaks (0x0A) every 32 bytes,
which is neither expected nor necessary.
No idea what use line breaks could have in a
hex encoder (unless it assumes it's only
possible use is to dump data for investigation).

We hadn't observed this because we generate
random hex strings of 8 to 16 bytes long.
But having used it for random URLs that
are up to 1024 bytes long, I started getting
invalid URLs.

Another reason to hasten the removal of Poco,
especially when we have our hex converter
anyway (not that it would matter if we didn't).

Change-Id: Ib674e8ed607db1effef476f1f3478da76c4f6464
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-22 10:09:22 -04:00
..
Authorization.cpp
Authorization.hpp
Clipboard.hpp wsd: better logging 2021-03-13 19:34:02 -05:00
Common.hpp
Crypto.cpp
Crypto.hpp
FileUtil.cpp Optimize copy of jails to hard-linking with new capability. 2021-01-04 15:05:36 +00:00
FileUtil.hpp Optimize copy of jails to hard-linking with new capability. 2021-01-04 15:05:36 +00:00
JailUtil.cpp Optimize copy of jails to hard-linking with new capability. 2021-01-04 15:05:36 +00:00
JailUtil.hpp wsd: cleanup temp incoming directories after use 2020-11-23 21:29:34 -05:00
JsonUtil.hpp CheckFileInfo: Report mis-spelled CheckFileInfo properties as errors. 2021-02-03 16:14:57 +01:00
Log.cpp common: add tag string to extract backtrace logs 2021-02-17 11:47:16 -04:00
Log.hpp wsd: improved thread ownership management and logging 2021-03-13 19:34:02 -05:00
LOOLWebSocket.hpp wsd: test: better logging 2021-03-08 22:49:53 -05:00
Message.hpp wsd: avoid unnecessary string copies 2021-03-08 22:49:53 -05:00
MessageQueue.cpp wsd: copy strings only when needed 2021-03-08 22:49:53 -05:00
MessageQueue.hpp wsd: copy strings only when needed 2021-03-08 22:49:53 -05:00
MobileApp.cpp
MobileApp.hpp
Png.hpp Bin unused function 2021-01-21 16:12:55 +02:00
Protocol.cpp
Protocol.hpp
Rectangle.hpp
RenderTiles.hpp wsd: log: overload chrono duration to simplify logging 2020-12-08 09:26:41 +00:00
Seccomp.cpp
Seccomp.hpp
security.h check if we run in a container 2021-01-12 22:24:28 +01:00
Session.cpp config: add "macro_security_level" item 2021-03-12 08:23:56 -04:00
Session.hpp config: add "macro_security_level" item 2021-03-12 08:23:56 -04:00
SigUtil.cpp common: add tag string to extract backtrace logs 2021-02-17 11:47:16 -04:00
SigUtil.hpp
SpookyV2.cpp
SpookyV2.h
StringVector.cpp
StringVector.hpp
Unit.cpp wsd: test: remove redundant wakeupWorld and log the exit status 2021-01-13 08:07:06 -05:00
Unit.hpp wsd: test: move inherited filterSendMessage to onFilterSendMessage 2021-01-13 08:07:06 -05:00
UnitHTTP.hpp
Util.cpp wsd: prevent poco from inserting line breaks in hex bytes 2021-03-22 10:09:22 -04:00
Util.hpp wsd: Util::toLower helper 2021-03-22 10:09:22 -04:00