aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid_auth.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-08 21:58:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-08 21:58:17 +0000
commit931a0d7751707056a98651d01aefd6c5621262ff (patch)
tree41bd60c2213353e24c9de420dac4f7dcf1f00545 /packages/squid_auth.inc
parent9e3cc108457f8144783f10e6c6a54e82e1d07565 (diff)
downloadpfsense-packages-931a0d7751707056a98651d01aefd6c5621262ff.tar.gz
pfsense-packages-931a0d7751707056a98651d01aefd6c5621262ff.tar.bz2
pfsense-packages-931a0d7751707056a98651d01aefd6c5621262ff.zip
* <?php and eval() don't play well together. Nuke it!
* <?xml and ?> will be intrepreted, use &lt; and friend
Diffstat (limited to 'packages/squid_auth.inc')
-rw-r--r--packages/squid_auth.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/squid_auth.inc b/packages/squid_auth.inc
index 8f52a16c..14343d21 100644
--- a/packages/squid_auth.inc
+++ b/packages/squid_auth.inc
@@ -1,4 +1,3 @@
-<?php
/* $Id$ */
/*
@@ -80,7 +79,7 @@ function dynamic_no_auth() {
$fout = fopen("/usr/local/pkg/squid_extauth.xml", "w");
- fwrite($fout, '<?xml version="1.0" encoding="utf-8" ?>\n');
+ fwrite($fout, '&gt;?xml version="1.0" encoding="utf-8" ?&lt;\n');
fwrite($fout, "<packagegui>\n");
fwrite($fout, " <name>squidextnoauth</name>\n");
fwrite($fout, " <title>Services: Proxy Server -> Extended Authentication Settings</title>\n");
@@ -155,7 +154,7 @@ function dynamic_local_auth() {
$fout = fopen("/usr/local/pkg/squid_extauth.xml", "w");
- fwrite($fout, '<?xml version="1.0" encoding="utf-8" ?>\n');
+ fwrite($fout, '&gt;?xml version="1.0" encoding="utf-8" ?&lt;\n');
fwrite($fout, "\n");
fwrite($fout, "<packagegui>\n");
fwrite($fout, " <name>squidextlocalauth</name>\n");
@@ -280,7 +279,7 @@ function dynamic_ldap_auth() {
$fout = fopen("/usr/local/pkg/squid_extauth.xml", "w");
- fwrite($fout, '<?xml version="1.0" encoding="utf-8" ?>\n');
+ fwrite($fout, '&gt;?xml version="1.0" encoding="utf-8" ?&lt;\n');
fwrite($fout, "\n");
fwrite($fout, "<packagegui>\n");
fwrite($fout, " <name>squidextldapauth</name>\n");