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

URL including "about" not loaded from URL bar #4825

Merged
merged 1 commit into from
Oct 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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