You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Shortcut URLs containing < are stored truncated or HTML-escaped #3793
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Shortcut URLs containing < are stored truncated or HTML-escaped. Cause: packages/web-pkg/src/components/CreateShortcutModal.vue:371-373 runs the HTML sanitizer DOMPurify on the URL.
Reproduction Steps
"+ New" → Shortcut with URL https://example.com/search?q=x<2&lang=de.
Expected Outcome
The URL is stored as entered.
Actual Outcome
Stored as …q=x<2&lang=de (or cut off at <b), so the shortcut opens the wrong URL.
Activity