We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6c881f commit cab91f5Copy full SHA for cab91f5
src/app/components/limit/modify/form/url.ts
@@ -55,7 +55,7 @@ const handlePaste = async (protocolRef: Ref<string>, pathItemsRef: Ref<UrlPathIt
55
56
let url = await clipboardy.read(), protocol = Protocol.ALL
57
58
- url = decodeURI(url)
+ url = decodeURI(url)?.trim()
59
if (url.startsWith(Protocol.HTTP)) {
60
protocol = Protocol.HTTP
61
url = url.substring(Protocol.HTTP.length)
0 commit comments