libreoffice-online/test
Ashod Nakashian eb122ec0a0 wsd: allow URIs without access_header or access_token
URIs may or may not have authorization data specified
via access_header or access_token query parameters.

In the event that the host doesn't have such needs
(for example authrorization could be performed by
some other means), we should accept the request
and still go ahead and make the WOPI request
all the same.

This patch effectively reverts the changes from
a019c93d90 which threw
an exception when the authorization method was
undefined. Since there was an assertion to warn
programmers that something is amis, now we simply
log the fact in trace mode and move on.

A new unit-test is added and another one that
expected the now-removed exception has been modified.

Change-Id: I26cc2514d7465b344037a6e32b777c0fe0ba9a2c
2020-10-07 08:13:29 -04:00
..
data UnitRenderShape: update Writer reference SVG 2020-02-27 11:57:07 +01:00
.gitignore
countloolkits.hpp fix license headers 2020-10-01 11:56:43 +02:00
DeltaTests.cpp fix license headers 2020-10-01 11:56:43 +02:00
fakesockettest.cpp fix license headers 2020-10-01 11:56:43 +02:00
helpers.hpp fix license headers 2020-10-01 11:56:43 +02:00
httpcrashtest.cpp fix license headers 2020-10-01 11:56:43 +02:00
httpwstest.cpp fix license headers 2020-10-01 11:56:43 +02:00
integration-http-server.cpp fix license headers 2020-10-01 11:56:43 +02:00
lokassert.hpp fix license headers 2020-10-01 11:56:43 +02:00
Makefile.am test: Makefile: fix builddir != srcdir 2020-10-01 18:53:36 -04:00
run_unit.sh.in wsd: support --cleanup in loolwsd 2020-07-01 06:14:39 +02:00
test.cpp fix license headers 2020-10-01 11:56:43 +02:00
test.hpp fix license headers 2020-10-01 11:56:43 +02:00
TileCacheTests.cpp Fix typos 2020-10-07 12:51:08 +02:00
TileQueueTests.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitAdmin.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitBadDocLoad.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitCalc.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitClient.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitClose.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitConvert.cpp test: check for non ASCII file name if convert-to 2020-10-05 10:59:53 -04:00
UnitCopyPaste.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitCursor.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitEachView.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitFuzz.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitHosting.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitHTTP.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitInsertDelete.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitLargePaste.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitLoad.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitLoadTorture.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitOAuth.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitOOB.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitPasswordProtected.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitPaste.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitPHPProxy.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitPrefork.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitRenderingOptions.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitRenderShape.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitSession.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitStorage.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitTiffLoad.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitTileCache.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitTimeout.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitTyping.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitUNOCommand.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitWOPI.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitWOPIDocumentConflict.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitWOPIHttpHeaders.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitWOPILoadEncoded.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitWopiOwnertermination.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitWOPIRenameFile.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitWOPISaveAs.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitWOPITemplate.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitWOPIVersionRestore.cpp fix license headers 2020-10-01 11:56:43 +02:00
UnitWOPIWatermark.cpp fix license headers 2020-10-01 11:56:43 +02:00
WhiteBoxTests.cpp wsd: allow URIs without access_header or access_token 2020-10-07 08:13:29 -04:00
WopiProofTests.cpp fix license headers 2020-10-01 11:56:43 +02:00
WopiTestServer.hpp fix license headers 2020-10-01 11:56:43 +02:00