HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/alt/python310/lib64/python3.10/__pycache__/nturl2path.cpython-310.opt-2.pyc
o

��eG�@s	dd�Zdd�ZdS)cCs�	ddl}ddl}|�dd�}d|vr/|dd�dkr!|dd�}|�d�}|j�d�|��S|�d�}t|�dksC|dd	|jvrKd
|}t	|��|dd	�
�}|d�d�}|d}|D]}|rn|d|j�|�}q`|�d�r}|�d�r}|d7}|S)N��:�|�z////��/�\���z	Bad URL: �)�string�urllib.parse�replace�split�parseZunquote�join�lenZ
ascii_letters�OSError�upper�endswith)Zurlr
�urllib�
components�comp�error�drive�path�r�1/opt/alt/python310/lib64/python3.10/nturl2path.py�url2pathnames,

�rcCs2	ddl}|dd�dkr4|dd�}|dd���dkr&d|dd�}n|dd�dkr4td	|��d|vrR|dd�d
krDd
|}|�d�}|j�d�|��S|jddd�}t|�dksgt|d�dkrod	|}t|��|j�|d���}|d�d�}d
|d}|D]}|r�|d|j�|�}q�|S)Nrrz\\?\zUNC\rr	rrz
Bad path: z\\r)�maxsplitz///)rrrr
rZquoterr)�prrrrrrrrr�pathname2url-s2
�rN)rrrrrr�<module>s%