diff --git a/chrome extension/datparse.js b/chrome extension/datparse.js index 9a65665..e5b7206 100644 --- a/chrome extension/datparse.js +++ b/chrome extension/datparse.js @@ -1,7 +1,7 @@ const isNode = typeof window === 'undefined' const parse = isNode ? require('url').parse : browserParse -const SCHEME_REGEX = /[a-z]+:\/\//i +const SCHEME_REGEX = /^[a-z]+:\/\//i // 1 2 3 4 const VERSION_REGEX = /^(dat:\/\/)?([^/]+)(\+[^/]+)(.*)$/i