/[smecontribs]/rpms/smeserver-phpki-ng/contribs10/smeserver-phpki-ng-0.3-bz12268-bz12266-bz11440-bz11439.patch
ViewVC logotype

Diff of /rpms/smeserver-phpki-ng/contribs10/smeserver-phpki-ng-0.3-bz12268-bz12266-bz11440-bz11439.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by jpp, Wed Dec 28 20:13:52 2022 UTC Revision 1.4 by jpp, Fri May 12 02:30:32 2023 UTC
# Line 52  diff -Nur --no-dereference smeserver-php Line 52  diff -Nur --no-dereference smeserver-php
52  +    # and we redirect old config to our new safer script  +    # and we redirect old config to our new safer script
53  +    RewriteEngine On  +    RewriteEngine On
54  +    RewriteCond %{QUERY_STRING} stage=dl_crl  +    RewriteCond %{QUERY_STRING} stage=dl_crl
55  +    RewriteRule ^ /phpki/dl_crl.php? [R=302,L]  +    RewriteRule ^ /phpki/dl_crl.php [QSD,R=302,L]
56    
57   HERE   HERE
58  +   # safely redirect crl request to php script striping all GET requests  +   # safely redirect crl request to php script striping all GET requests
# Line 212  diff -Nur --no-dereference smeserver-php Line 212  diff -Nur --no-dereference smeserver-php
212       RewriteEngine On       RewriteEngine On
213  -    RewriteCond %{QUERY_STRING} stage=dl_crl  -    RewriteCond %{QUERY_STRING} stage=dl_crl
214  +    RewriteCond %{QUERY_STRING} stage=dl_crl(&|\$)  +    RewriteCond %{QUERY_STRING} stage=dl_crl(&|\$)
215       RewriteRule ^ /phpki/dl_crl.php? [R=302,L]       RewriteRule ^ /phpki/dl_crl.php [QSD,R=302,L]
216  +    RewriteCond %{QUERY_STRING} stage=dl_crl_pem(&|\$)  +    RewriteCond %{QUERY_STRING} stage=dl_crl_pem(&|\$)
217  +    RewriteRule ^ /phpki/dl_crl_pem.php? [R=302,L]  +    RewriteRule ^ /phpki/dl_crl_pem.php [QSD,R=302,L]
218    
219   HERE   HERE
220      # safely redirect crl request to php script striping all GET requests      # safely redirect crl request to php script striping all GET requests


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed