-
Notifications
You must be signed in to change notification settings - Fork 140
Closed
Labels
[Plugin] Performance LabIssue relates to work in the Performance Lab Plugin onlyIssue relates to work in the Performance Lab Plugin only[Plugin] Speculative LoadingIssues for the Speculative Loading plugin (formerly Speculation Rules)Issues for the Speculative Loading plugin (formerly Speculation Rules)[Type] BugAn existing feature is brokenAn existing feature is broken
Description
Bug Description
If WordPress is deployed with an unusual path prefix (notably WordPress Playground uses something like /scope:0.123456/), this isn't properly escaped and the resulting patterns fail to parse.
Steps to reproduce
- Go to https://playground.wordpress.net/?plugin=speculation-rules.
- Open one of the pages at the top level.
- Observe that there are errors in the developer console resulting pages.
Screenshots
n/a
Additional Context
- PHP Version: 7.4
- OS: Linux
- Browser: Chrome (121 beta)
- Plugin Version: trunk
- Device: Linux desktop
Metadata
Metadata
Assignees
Labels
[Plugin] Performance LabIssue relates to work in the Performance Lab Plugin onlyIssue relates to work in the Performance Lab Plugin only[Plugin] Speculative LoadingIssues for the Speculative Loading plugin (formerly Speculation Rules)Issues for the Speculative Loading plugin (formerly Speculation Rules)[Type] BugAn existing feature is brokenAn existing feature is broken