[dev] [PATCH] wrong dsn assembly in lib/Auth/imap.php
Roman Neuhauser
neuhauser at bellavista.cz
Tue Aug 26 09:18:53 PDT 2003
see $subject, and attached patch.
Auth::imap and IMP could really use some sharing of utility functions
(see IMP::serverString())...
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
-------------- next part --------------
Index: lib/Auth/imap.php
===================================================================
RCS file: /repository/horde/lib/Auth/imap.php,v
retrieving revision 1.17
diff -u -r1.17 imap.php
--- lib/Auth/imap.php 10 Jul 2003 21:42:56 -0000 1.17
+++ lib/Auth/imap.php 26 Aug 2003 16:03:55 -0000
@@ -72,7 +72,7 @@
/* Create DSN string. */
if (!isset($this->_params['dsn'])) {
- $this->_params['dsn'] = '{' . $this->_params['hostspec'] . '/' . $this->_params['protocol'] . ':' . $this->_params['port'] . '}';
+ $this->_params['dsn'] = '{' . $this->_params['hostspec'] . ':' . $this->_params['port'] . '/' . $this->_params['protocol'] . '}';
if (!empty($this->_params['folder'])) {
$this->_params['dsn'] .= $this->_params['folder'];
}
More information about the dev
mailing list