Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: PHP-Apricot
-
Fix Version/s: PHP-Apricot
-
Component/s: PHPDriver
-
Labels:None
Description
When use cubrid_connect_with_url($conn_url [, string $userid [, string $passwd, ...]), the real user was changed to "PUBLIC" by mistake.
Conditions:
(1)the db_user part exists in $conn_url
and
(2)There is only one argument in cubrid_connect_with_url()
Referrence:
http://php.net/manual/en/function.cubrid-connect-with-url.php
http://bts4.nhncorp.com/nhnbts/browse/CUBRIDSUS-9277
Issue Links
- is cloned by
-
APIS-294
PHP 응용에서 cubrid_connect_with_url 사용 시 함수인자로 user/pass가 주어지지 않으면 public으로 접속됨
-
modify the php_cubrid.c.
When invoking the cubrid_connect_with_url() with the second argument which is userid, this userid is used preferentially.
Committed revision 902.