- Ya
- 22 Agosti 2026, 06:33 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 4afa2e1
PutRelativeFile was unimplemented, so "Save As" in the LibreOffice editor did nothing. It now does what the member means by it: the bytes become a brand-new ORIGINAL, as if they had uploaded the file, and that original immediately gets its own CLASSIC version — which is the id handed back to the editor. Saving as therefore lands them exactly where uploading and opening would have: an untouched original, and a classic copy they are editing. Returning the new original's WOPI source instead would put the editor straight back to writing over an upload, which is the thing this model exists to stop. The suggested-target header is not trusted to be a filename. Docs sends plain UTF-8 rather than the modified UTF-7 the spec asks for, and very often sends only an extension meaning "same name, new format" — taken at face value that produces documents literally named ".docx". getWopiBaseUrl is shared rather than copied: a drifted second copy would hand the editor a callback host its token was never minted for.