consider javascript an exotic protocol
no document feature needs javascript: urls, it defaulted into the
list with the rest in:
commit 7e5feed961ef2344d580d63a5752e9d6e2c0797e
Date: Fri Aug 21 10:12:08 2026 +0200
switch INetURLObject::IsExoticProtocol to default-deny
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I6546e08af67f00c9783c96dca9c3a736205033ef
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/13501
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit 6c66678f8ba35fc9b7758a88fa0294fdb871cf1b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211457
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
committed by
Xisco Fauli
parent
aa306ba447
commit
aa74bed8ff
@@ -4880,7 +4880,6 @@ bool INetURLObject::IsExoticProtocol() const
|
||||
|| m_eScheme == INetProtocol::PrivSoffice
|
||||
|| m_eScheme == INetProtocol::VndSunStarHelp
|
||||
|| m_eScheme == INetProtocol::Https
|
||||
|| m_eScheme == INetProtocol::Javascript
|
||||
|| m_eScheme == INetProtocol::Data
|
||||
|| m_eScheme == INetProtocol::Cid
|
||||
|| m_eScheme == INetProtocol::VndSunStarHier
|
||||
|
||||
Reference in New Issue
Block a user