You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by David Reid <da...@jetnet.co.uk> on 2006/01/16 03:04:12 UTC

[PATCH] clarify use of %s in db queries

This caught me out, so might catch others as well...

Index: docs/manual/mod/mod_authn_dbd.xml
===================================================================
--- docs/manual/mod/mod_authn_dbd.xml   (revision 369302)
+++ docs/manual/mod/mod_authn_dbd.xml   (working copy)
@@ -61,6 +61,7 @@
 <title>Configuration Example</title>
 <p>This simple example shows use of this module in the context of
 the Authentication and DBD frameworks.</p>
+<p>NB The use of %s in the example is correct. When the username is
replaced in the string it will be enclosed inside single quotes.</p>
 <example><pre>
 #Database Management