621ec809b3
Have two COOL servers, copy on one instance, paste an on other instance, nothing happens on Ctrl-V. It appears the JS code in Clipboard.js _dataTransferDownloadAndPasteAsync() gets the correct HTML, but when it tries to contact the "copy" server for the underlying full clipboard, some security policy prevents the JS code from doing that. Which means 1) perhaps we should do that HTTP fetch on the server, not in JS and 2) the fallback code should at least work via normal HTML. Fix 2) by extending ChildSession::setClipboard() to recognize if the data has the typical HTML header, and only start the usual parsing in case the data we got is not bare HTML. The 1) still needs fixing. Signed-off-by: Miklos Vajna <vmiklos@collabora.com> Change-Id: I55a102c2a39d21ac898f82041760a220e46784cb |
||
---|---|---|
.. | ||
ChildSession.cpp | ||
ChildSession.hpp | ||
Delta.hpp | ||
DeltaSimd.c | ||
DeltaSimd.h | ||
DummyLibreOfficeKit.cpp | ||
DummyLibreOfficeKit.hpp | ||
forkit-main.cpp | ||
ForKit.cpp | ||
Kit.cpp | ||
Kit.hpp | ||
KitHelper.hpp | ||
KitQueue.cpp | ||
KitQueue.hpp | ||
KitWebSocket.cpp | ||
KitWebSocket.hpp | ||
SetupKitEnvironment.hpp | ||
StateRecorder.hpp | ||
TestStubs.cpp | ||
Watermark.hpp |