We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 439c952 commit 9860c37Copy full SHA for 9860c37
main.js
@@ -56,7 +56,7 @@ const scheme = 'vvt'
56
const registerProtocol = () => {
57
protocol.handle(scheme, async (request) => {
58
const url = request.url
59
- const parsedUrl = url.substring(scheme.length + 3).replace(/^(\.\.(\/|\\|$))+/, '')
+ const parsedUrl = url.substring(scheme.length + 3).split('?')[0].replace(/^(\.\.(\/|\\|$))+/, '')
60
const requestedPath = path.join(__dirname, parsedUrl)
61
const normalizedPath = path.normalize(requestedPath)
62
0 commit comments