403Webshell
Server IP : 172.67.214.6  /  Your IP : 216.73.216.73
Web Server : LiteSpeed
System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : redwjova ( 1790)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /opt/alt/python39/lib/python3.9/site-packages/pip/_internal/utils/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /opt/alt/python39/lib/python3.9/site-packages/pip/_internal/utils/__pycache__/urls.cpython-39.pyc
a

��Re��@spddlZddlZddlZddlZddlmZddlmZe	ee	d�dd�Z
e	e	d�d	d
�Ze	e	d�dd�ZdS)
�N)�Optional�)�WINDOWS)�url�returncCs d|vrdS|�dd�d��S)N�:rr)�split�lower)r�r
��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/utils/urls.py�get_url_scheme
sr)�pathrcCs.tj�tj�|��}tj�dtj�|��}|S)zh
    Convert a path to a file: URL.  The path will be made absolute and have
    quoted path parts.
    �file:)	�osr
�normpath�abspath�urllib�parse�urljoin�request�pathname2url)r
rr
r
r�path_to_urlsrcCs�|�d�sJd|�d���tj�|�\}}}}}|r<|dkrBd}ntrPd|}ntd|����tj�||�}tr�|s�t|�dkr�|d	d
kr�|dt	j
vr�|dd
�dvr�|dd�}|S)z(
    Convert a file: URL to a path.
    rz1You can only turn file: urls into filenames (not �)�	localhost�z\\z8non-local file URIs are not supported on this platform: �r�/r��)rz:/N)�
startswithrr�urlsplitr�
ValueErrorr�url2pathname�len�string�
ascii_letters)r�_�netlocr
r
r
r�url_to_paths8�
�
���
�
���r()
rr$�urllib.parser�urllib.request�typingr�compatr�strrrr(r
r
r
r�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit