d06ad733c5
...with support for properly extracting the different fields with unit-test. URIs are quite complex and varied. For historic reasons they have all been treated without distinction, which makes support for all variants difficult. RequestDetails encapsulates this complexity, and now it is almost completely documented both descriptively and functionally (via extensive unit-tests). Parsing of the URIs is now more structured by having named fields instead of relying on knowing which token should contain which field, which is error-prone and very opaque. Change-Id: I68d07c2e00baf43f0ade97d20f62691ffb3bf576 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95292 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> |
||
---|---|---|
.. | ||
data | ||
.gitignore | ||
countloolkits.hpp | ||
DeltaTests.cpp | ||
fakesockettest.cpp | ||
helpers.hpp | ||
httpcrashtest.cpp | ||
httpwstest.cpp | ||
integration-http-server.cpp | ||
lokassert.hpp | ||
Makefile.am | ||
run_unit.sh.in | ||
test.cpp | ||
test.hpp | ||
TileCacheTests.cpp | ||
TileQueueTests.cpp | ||
UnitAdmin.cpp | ||
UnitBadDocLoad.cpp | ||
UnitCalc.cpp | ||
UnitClient.cpp | ||
UnitClose.cpp | ||
UnitConvert.cpp | ||
UnitCopyPaste.cpp | ||
UnitCursor.cpp | ||
UnitEachView.cpp | ||
UnitFuzz.cpp | ||
UnitHosting.cpp | ||
UnitHTTP.cpp | ||
UnitInsertDelete.cpp | ||
UnitLargePaste.cpp | ||
UnitLoad.cpp | ||
UnitLoadTorture.cpp | ||
UnitOAuth.cpp | ||
UnitOOB.cpp | ||
UnitPasswordProtected.cpp | ||
UnitPaste.cpp | ||
UnitPrefork.cpp | ||
UnitRenderingOptions.cpp | ||
UnitRenderShape.cpp | ||
UnitSession.cpp | ||
UnitStorage.cpp | ||
UnitTiffLoad.cpp | ||
UnitTileCache.cpp | ||
UnitTimeout.cpp | ||
UnitTyping.cpp | ||
UnitUNOCommand.cpp | ||
UnitWOPI.cpp | ||
UnitWOPIDocumentConflict.cpp | ||
UnitWOPILoadEncoded.cpp | ||
UnitWopiOwnertermination.cpp | ||
UnitWOPIRenameFile.cpp | ||
UnitWOPISaveAs.cpp | ||
UnitWOPITemplate.cpp | ||
UnitWOPIVersionRestore.cpp | ||
UnitWOPIWatermark.cpp | ||
WhiteBoxTests.cpp | ||
WopiProofTests.cpp | ||
WopiTestServer.hpp |