[Libreoffice-bugs] [Bug 113743] MediaWiki publisher does not work with Wiki configured to use Basic Authentication

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 9 18:19:38 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=113743

--- Comment #1 from sven.neuz at serpenteq.com ---
Created attachment 137648
  --> https://bugs.documentfoundation.org/attachment.cgi?id=137648&action=edit
Extremely ugly POC patch - do NOT use!!!

With this patch it is possible to access a MediWiki which uses Basic Auth and
post an article. Even though the article is posted, the extension still
displays an error message. It seems that the extension tries to read the newly
created article but does not use the Basic Auth header this time (and also
ignored the set user agent)

xxx - sen [09/Nov/2017:18:32:14 +0100] "POST
/index.php?title=Test&action=submit HTTP/1.1" 302 1229 "-" "LibreOffice Wiki
Publisher 1.2.1"
xxx - - [09/Nov/2017:18:32:14 +0100] "GET /Test HTTP/1.1" 401 1120 "-"
"Java/1.8.0_144"

Note that I changed the Special Page from logon to ListUsers as a MediaWiki
using Basic Auth does not provide this page. Also just an ugly hack.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171109/c0b56db2/attachment.html>


More information about the Libreoffice-bugs mailing list