Projet

Général

Profil

0001-remove-CSP-config-as-it-s-handled-by-cordova-ios-136.patch

Serghei Mihai, 19 octobre 2016 18:42

Télécharger (2,55 ko)

Voir les différences:

Subject: [PATCH] remove CSP config as it's handled by cordova-ios (#13654)

 README.md      | 2 --
 www/index.html | 8 --------
 2 files changed, 10 deletions(-)
README.md
25 25
    phonegap plugin add cordova-plugin-file
26 26
    phonegap plugin add cordova-plugin-file-transfer
27 27
    phonegap plugin add cordova-plugin-zip
28
    phonegap plugin add cordova-plugin-whitelist
29 28
    phonegap plugin add cordova-plugin-statusbar
30 29
    phonegap plugin add cordova-plugin-network-information
31 30
    phonegap plugin add cordova-plugin-inappbrowser # optional
......
35 34
    phonegap plugin add https://github.com/apache/cordova-plugin-file.git
36 35
    phonegap plugin add https://github.com/apache/cordova-plugin-file-transfer.git
37 36
    phonegap plugin add https://github.com/MobileChromeApps/cordova-plugin-zip.git
38
    phonegap plugin add https://github.com/apache/cordova-plugin-whitelist.git
39 37
    phonegap plugin add https://github.com/apache/cordova-plugin-statusbar.git
40 38
    phonegap plugin add https://github.com/apache/cordova-plugin-network-information.git
41 39
    phonegap plugin add https://github.com/apache/cordova-plugin-inappbrowser.git # optional
www/index.html
28 28
        <meta http-Equiv="Cache-Control" Content="no-cache" />
29 29
        <meta http-Equiv="Pragma" Content="no-cache" />
30 30
        <meta http-Equiv="Expires" Content="0" />
31
        <!-- Enable all requests, inline styles, and eval() -->
32
        <!--meta http-equiv="Content-Security-Policy" content="default-src *;
33
        style-src * 'unsafe-inline'; script-src * 'unsafe-inline'
34
        'unsafe-eval'"-->
35
        <meta http-equiv="Content-Security-Policy" content="default-src *;
36
        style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'
37
        'unsafe-eval'">
38

  
39 31
        <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
40 32
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, target-densitydpi=medium-dpi, user-scalable=0" />
41 33
        <link rel="stylesheet" type="text/css" href="css/index.css" />
42
-