Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_Browser
Commits
87dc5763
Commit
87dc5763
authored
10 years ago
by
Paul Miller
Committed by
Android Git Automerger
10 years ago
Browse files
Options
Download
Plain Diff
am
36180ed8
: Merge "Finish removing "inline" URI scheme"
* commit '
36180ed8
': Finish removing "inline" URI scheme
parents
5c91d966
36180ed8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
AndroidManifest.xml
AndroidManifest.xml
+0
-1
src/com/android/browser/UrlUtils.java
src/com/android/browser/UrlUtils.java
+1
-1
No files found.
AndroidManifest.xml
View file @
87dc5763
...
...
@@ -96,7 +96,6 @@
<category
android:name=
"android.intent.category.DEFAULT"
/>
<data
android:scheme=
"http"
/>
<data
android:scheme=
"https"
/>
<data
android:scheme=
"inline"
/>
<data
android:mimeType=
"text/html"
/>
<data
android:mimeType=
"text/plain"
/>
<data
android:mimeType=
"application/xhtml+xml"
/>
...
...
This diff is collapsed.
Click to expand it.
src/com/android/browser/UrlUtils.java
View file @
87dc5763
...
...
@@ -32,7 +32,7 @@ public class UrlUtils {
"(?i)"
+
// switch on case insensitive matching
"("
+
// begin group for schema
"(?:http|https|file):\\/\\/"
+
"|(?:
inline|
data|about|javascript):"
+
"|(?:data|about|javascript):"
+
"|(?:.*:.*@)"
+
")"
+
"(.*)"
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment