[Libreoffice-bugs] [Bug 123497] Infinite redirection when opening LibreOffice help

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Feb 17 13:41:00 UTC 2019


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

--- Comment #6 from Maxime Launois <launois.maxime at free.fr> ---
(In reply to Olivier Hallot from comment #5)
> Cannot reproduce with
> 
> Versão: 6.2.0.3 (x64)
> ID de compilação: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
> Threads da CPU:4; SO:Windows 6.1; Realizador da interface: padrão; VCL: win; 
> Local: en-US (pt_BR); Idioma de IU: pt-BR
> Calc: threaded
> 
> Firefox 65.0.1 (32bit)
> 
> Is it a Firefox/Windows setting?

I found what was wrong! The problem comes from the <meta http-equiv="refresh">
HTML tag. The URL attribute of this tag is
file:///C:/Program%20Files/LibreOffice/program/../help/index.html?Target=swriter/.uno%3AHelpIndex&Language=fr&System=WIN&Version=6.2,
and obviously Firefox can't handle it.
If JavaScript is disabled or blocked either by a third-party extension such as
NoScript or in the Firefox Development Tools settings, the script block with

> window.location.href = "file:///C:/Program%20Files/LibreOffice/program/../help/index.html?Target=swriter/.uno%3AHelpIndex&Language=fr&System=WIN&Version=6.2"

won't execute, and using the redirection mechanism provided by the <meta> block
fails, resulting in an infinite loop.

I'm updating the patch and bug reproduction instructions right now!

-- 
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/20190217/8f6d588e/attachment.html>


More information about the Libreoffice-bugs mailing list