Projekt

Allgemein

Profil

GX-Bug #52473 » htaccessCharsetFix1.patch

Till Tepelmann, 17.07.2017 18:50

Unterschiede anzeigen:

src/gm/seo_boost_an/.htaccess (revision )
12 12
## Since some hosters do provide apache mod_env and others only mod_envif we need to do some doubling
13 13

  
14 14
<IfModule mod_env.c>
15
	SetEnv gambio_htaccessVersion 2.4
15
	SetEnv gambio_htaccessVersion 2.5
16 16
	SetEnv gambio_mod_env_working 1
17 17
</IfModule>
18 18

  
19 19
<IfModule !mod_env.c>
20 20
	<IfModule mod_setenvif.c>
21
		SetEnvIf ENV ^(.*)$ gambio_htaccessVersion=2.3
21
		SetEnvIf ENV ^(.*)$ gambio_htaccessVersion=2.5
22 22
		SetEnvIf ENV ^(.*)$ gambio_mod_envif_working=1
23 23
	</IfModule>
24 24
</IfModule>
......
67 67

  
68 68
	AddCharset utf-8 .atom \
69 69
			.bbaw \
70
			.css \
71 70
			.geojson \
72
			.js \
73 71
			.json \
74 72
			.jsonld \
75 73
			.manifest \
src/gambio_updater/index.php (revision )
11 11

  
12 12
require_once('includes/application.inc.php');
13 13

  
14
$expectedHtaccessVersion = 2.4;
14
$expectedHtaccessVersion = 2.5;
15 15
$customerHtaccessVersion = 0.0;
16 16
if(isset($_SERVER['gambio_htaccessVersion']))
17 17
{
src/system/classes/security/SecurityCheck.inc.php (revision )
46 46
	/**
47 47
	 * @var float
48 48
	 */
49
	protected static $actualHtaccessVersion = 2.4;
49
	protected static $actualHtaccessVersion = 2.5;
50 50

  
51 51

  
52 52
	/**
src/.htaccess (revision )
12 12
## Since some hosters do provide apache mod_env and others only mod_envif we need to do some doubling
13 13

  
14 14
<IfModule mod_env.c>
15
	SetEnv gambio_htaccessVersion 2.4
15
	SetEnv gambio_htaccessVersion 2.5
16 16
	SetEnv gambio_mod_env_working 1
17 17
</IfModule>
18 18

  
19 19
<IfModule !mod_env.c>
20 20
	<IfModule mod_setenvif.c>
21
		SetEnvIf ENV ^(.*)$ gambio_htaccessVersion=2.3
21
		SetEnvIf ENV ^(.*)$ gambio_htaccessVersion=2.5
22 22
		SetEnvIf ENV ^(.*)$ gambio_mod_envif_working=1
23 23
	</IfModule>
24 24
</IfModule>
......
67 67

  
68 68
	AddCharset utf-8 .atom \
69 69
			.bbaw \
70
			.css \
71 70
			.geojson \
72
			.js \
73 71
			.json \
74 72
			.jsonld \
75 73
			.manifest \
    (1-1/1)