| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/1/cwd/proc/1/cwd/usr/lib64/python3.12/__pycache__/ |
Upload File : |
�
�֦iF � � � d Z d� Zd� Zy)z�Convert a NT pathname to a file URL and vice versa.
This module only exists to provide OS-specific code
for urllib.requests, thus do not use directly.
c � � ddl }ddl}| dd dk( r| dd } n
| dd dk( r| dd } | dd dk( r| d d } | j d
d� } d| vr+|j j | j dd
� � S | j d� }t
|� dk7 s|d d |j vrd| z }t |� �|d d j � }|j j |d j dd
� � }|d
z |z S )z{OS-specific conversion from a relative URL of the 'file' scheme
to a file system path; not recommended for general use.� N� �///� � z//localhost/� � �:�|�/�\���z Bad URL: )
�string�urllib.parse�replace�parse�unquote�split�len�
ascii_letters�OSError�upper)�urlr �urllib�comp�error�drive�tails �#/usr/lib64/python3.12/nturl2path.py�url2pathnamer s � � �
�2�A�w�%�� �!�"�g�� �S�b��^� #��"�#�h��
�2�A�w�%���!�"�g��
�+�+�c�3�
�C��#�:� �|�|�#�#�C�K�K��T�$:�;�;��9�9�S�>�D�
�4�y�A�~��a����F�,@�,@�@��c�!���e�n����G�B�K����E��<�<����Q�����T� :�;�D��3�;���� c � � ddl }| j dd� } | dd dk( r:| dd } | dd j � dk( r d| dd z } n| d d
dk7 rt d| z � �d| vr|j j | � S | j
dd
�
� }t |� d
k7 st |d � d kD rd| z }t |� �|j j |d j � � }|j j |d � }d|z dz |z S )z{OS-specific conversion from a file system path to a relative URL
of the 'file' scheme; not recommended for general use.r Nr
r � z//?/zUNC/z//r r r
z
Bad path: )�maxsplitr )r r r r r �quoter r )�pr r r r r s r �pathname2urlr'