summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-30 14:21:41 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-30 14:21:41 -0400
commitce7c3bb598087ff8623c8c1048f1acbc27c73457 (patch)
tree799aae9058c4bf955b8e842c0806f455ffe5fa7d
parent80a2fedfc5fc65154c3141e4b2d70122c258756a (diff)
downloadpfsense-ce7c3bb598087ff8623c8c1048f1acbc27c73457.zip
pfsense-ce7c3bb598087ff8623c8c1048f1acbc27c73457.tar.gz
Escape $ variables
-rw-r--r--etc/inc/captiveportal.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 3fbd3f7..0b41dd0 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -96,8 +96,8 @@ function captiveportal_configure() {
$htmltext = <<<EOD
<html>
<body>
- <form method="post" action="$PORTAL_ACTION$">
- <input name="redirurl" type="hidden" value="$PORTAL_REDIRURL$">
+ <form method="post" action="\$PORTAL_ACTION\$">
+ <input name="redirurl" type="hidden" value="\$PORTAL_REDIRURL\$">
<center>
<table cellpadding="6" cellspacing="0" width="550" height="380" style="border:1px solid #000000">
<tr height="10" bgcolor="#990000">
@@ -127,7 +127,7 @@ function captiveportal_configure() {
<div id='statusbox'>
<font color='red' face='arial' size='+1'>
<b>
- $PORTAL_MESSAGE$
+ \$PORTAL_MESSAGE\$
</b>
</font>
</div>
@@ -194,8 +194,8 @@ EOD;
$errtext = <<<EOD
<html>
<body>
- <form method="post" action="$PORTAL_ACTION$">
- <input name="redirurl" type="hidden" value="$PORTAL_REDIRURL$">
+ <form method="post" action="\$PORTAL_ACTION\$">
+ <input name="redirurl" type="hidden" value="\$PORTAL_REDIRURL\$">
<center>
<table cellpadding="6" cellspacing="0" width="550" height="380" style="border:1px solid #000000">
<tr height="10" bgcolor="#990000">
@@ -225,7 +225,7 @@ EOD;
<div id='statusbox'>
<font color='red' face='arial' size='+1'>
<b>
- $PORTAL_MESSAGE$
+ \$PORTAL_MESSAGE\$
</b>
</font>
</div>
OpenPOWER on IntegriCloud