]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/AndroidManifest.xml
Limit the content MIME types that Privacy Browser offers to open. https://redmine...
[PrivacyBrowserAndroid.git] / app / src / main / AndroidManifest.xml
index 2fc80d8992d243cb04ce7169c61c33bfa6435a33..e23f8b7f792ea57bb09fbc6af1af6758ca98adcf 100644 (file)
                 <data android:scheme="https" />
             </intent-filter>
 
-            <!-- Process all content intents, including text, images, and MHT archives. -->
+            <!-- Process all content intents. -->
             <intent-filter>
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />
 
                 <data android:scheme="content" />
-                <data android:mimeType="*/*" />
+
+                <!-- Process text and images. -->
+                <data android:mimeType="text/*" />
+                <data android:mimeType="image/*" />
+
+                <!-- Process MHT web archives. -->
+                <data android:mimeType="multipart/related" />
+                <data android:mimeType="message/rfc822" />
             </intent-filter>
 
             <!-- Process intents for text strings.  Sometimes URLs are presented this way. -->