C# Class Pchp.Core.Utilities.FileSystemUtils

File system utilities.
Afficher le fichier Open project: iolevel/peachpie

Méthodes publiques

Méthode Description
StripPassword ( string url ) : string

Returns the given URL without the username/password information.

Removes the text between the last "://" and the following '@'. Does not check the URL for validity. Works for php://filter paths too.

Method Details

StripPassword() public static méthode

Returns the given URL without the username/password information.
Removes the text between the last "://" and the following '@'. Does not check the URL for validity. Works for php://filter paths too.
public static StripPassword ( string url ) : string
url string The URL to modify.
Résultat string