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

--- Comment #1 from [email protected] ---
(In reply to leo from comment #0)
> Dear LibreOffice community,
> 
> I recently set up a languagetool server on a remote host using an nginx
> reverse proxy. In the reverse proxy you can ask for authentication before
> allowing a request to go through to the languagetool HTTP server. I am not
> sure which version is the earliest affected, but if you need that
> information, I could do some tests.
> 
> Using the following curl command I can make requests to the server and get a
> response:
> > curl -u "user:password" --data "language=en-US&text=a simple test" 
> > https://example.com/v2/check
> Libreoffice seems to not allow specifying credentials for HTTP basic auth
> and it also seems to not work if I use the mostly deprecated method of
> specifying the credentials like this and leaving the rest empty:
> > Base URL: https://user:[email protected]/v2
> 
> Since this would be the only option to secure a (not local) languagetool
> server, I'd deem this a necessary feature, at least for that usecase.
> I might have also done the configuration wrong in Libreoffice, but I
> couldn't really find the issue or any help on this online.

Okay, it seems that the issue was my fault. I didn't test this correctly and
used a sentence that the free version of languagetool doesn't detect.
The requests do definetly go through using the deprecated method:
> Base URL: https://user:[email protected]/v2

It might still be useful to provide alternatives since Chromium has deprecated
this entirely and Mozilla has implemented some restrictions:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication#access_using_credentials_in_the_url

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to