Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
URL including "about" not loaded from URL bar
Browse files Browse the repository at this point in the history
Fixes #4824

Auditors:
@bbondy
  • Loading branch information
Radoslav Vitanov authored and bbondy committed Oct 15, 2016
1 parent 76e6573 commit 4e972c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/lib/urlutil.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const UrlUtil = {
// for cases, pure string
const case3Reg = /[\?\.\/\s:]/
// for cases, data:uri, view-source:uri and about
const case4Reg = /^data|view-source|mailto|about|chrome-extension:.*/
const case4Reg = /^data:|view-source:|mailto:|about:|chrome-extension:.*/

let str = input.trim()
let scheme = this.getScheme(str)
Expand Down

0 comments on commit 4e972c1

Please sign in to comment.