php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #732 Password not stripped from http URLs when printing error
Submitted: 1998-09-09 12:06 UTC Modified: 1998-09-11 19:47 UTC
From: enrik at fun dot de Assigned:
Status: Closed Package: Other
PHP Version: 3.0.3 OS: Linux
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 + 43 = ?
Subscribe to this entry?

 
 [1998-09-09 12:06 UTC] enrik at fun dot de
When opening an URL like in
include("http://include:pass@include.ser.ver/blah.inc")
fails, the password is not removed from the error message.
This happens obviously since php3_strip_url_passwd() is
constrained to ftp URLs.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-11 19:47 UTC] zeev
Fixed, generalized the URL password stripping to work with all protocols.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC