From 4a723b90959bd06fd99f4e901cc29a682db2f532 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Tue, 26 Nov 2002 18:38:01 +0000
Subject: [PATCH] - Added some comments/explanation wrt to the "$db_url"
 settings; this seemed   to cause problems/confusion.

---
 includes/conf.php | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/includes/conf.php b/includes/conf.php
index 9014e7500e6e..2da4bf43abe8 100644
--- a/includes/conf.php
+++ b/includes/conf.php
@@ -3,6 +3,13 @@
 
 #
 # Database settings:
+#   Note that the $db_url variable gets parsed using PHP's built-in 
+#   URL parser (i.e. using the "parse_url()" function) so make sure
+#   not to confuse the parser.  In practice, you should avoid using
+#   special characters that are not used in "normal" URLs either.
+#   That is, the use of ':', '/', '@', '?', '=' and '#', ''', '"', 
+#   and so on is likely to confuse the parser; use alpha-numerical
+#   characters instead. 
 #
 
 # $db_url = "pgsql://user:password@hostname/database";
@@ -38,4 +45,4 @@
 #  "<a href=\"\module.php?mod=user\">school</a>",
 #  "<a href=\"\module.php?mod=blog\">work</a>");
 
-?>
\ No newline at end of file
+?>
-- 
GitLab