View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007090 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2020-02-11 12:57 | 2024-07-03 09:44 |
Reporter | Hal_platzke | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 6.1.5 | ||||
Summary | 0007090: Oxscript handles relative URI without protocol as local file | ||||
Description | If you pass "//cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.js" 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: http://www.ietf.org/rfc/rfc3986.txt possible fix: in file: OxidEsales\EshopCommunity\Core\ViewHelper\JavaScriptRegistrator.php:50 replace regex: #^https?://# with: /^(https?:\/\/|\/\/)/ | ||||
Tags | No tags attached. | ||||
Theme | All | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||