View Issue Details

IDProjectCategoryView StatusLast Update
0007090OXID eShop (all versions)1. ----- eShop frontend -----public2024-07-03 09:44
ReporterHal_platzke Assigned To 
Status confirmedResolutionopen 
Product Version6.1.5 
Summary0007090: Oxscript handles relative URI without protocol as local file
DescriptionIf you pass "//" as include for oxscript,
it gets handle as a local file and wont load.

A relative URI without protocol is valid, see RFC 3986 Section 4.2:

possible fix:
in file: OxidEsales\EshopCommunity\Core\ViewHelper\JavaScriptRegistrator.php:50
replace regex: #^https?://#
with: /^(https?:\/\/|\/\/)/
TagsNo tags attached.
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined



2020-02-12 08:08

administrator   ~0013124