[Peepagg-cvs] PA SVN Commit r64 - in trunk: docs publicroot
Brought to you by:
chalko,
marccanter
|
From: <sv...@2n...> - 2004-04-08 03:00:28
|
Author: crschmidt
Date: 2004-04-07 19:59:48 -0700 (Wed, 07 Apr 2004)
New Revision: 64
Modified:
trunk/docs/INSTALL
trunk/publicroot/.htaccess
Log:
Adding magic_quotes_gpc 0 to .htaccess. On the production server, we=20
were getting double escaped information in the database. This will=20
ensure that other people don't have the same problem.
Modified: trunk/docs/INSTALL
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/docs/INSTALL 2004-04-07 05:32:28 UTC (rev 63)
+++ trunk/docs/INSTALL 2004-04-08 02:59:48 UTC (rev 64)
@@ -17,6 +17,8 @@
=20
This also allows the .htaccess to turn on allow_furl_open. This is neede=
d in=20
order to fetch images in some case - for example, in the getimagesize fu=
nction.
+It also sets magic_quotes_gpc to 0, or off. Since PeopleAggregator escap=
es all
+its own quotes, if this variable is on, you get doubly escaped data.
=20
You should modify the .htaccess file to reflect the location of your ins=
tall in
the RewriteRules in that file.
Modified: trunk/publicroot/.htaccess
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/publicroot/.htaccess 2004-04-07 05:32:28 UTC (rev 63)
+++ trunk/publicroot/.htaccess 2004-04-08 02:59:48 UTC (rev 64)
@@ -1,4 +1,5 @@
php_flag allow_url_fopen 1
+php_flag magic_quotes_gpc 0=20
=20
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.peopleaggregator\.com$ [NC]
|