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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: enrik at fun dot de
New email:
PHP Version: OS:

 

 [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-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 03:00:02 2026 UTC