| Server IP : 43.141.49.107 / Your IP : 113.219.202.141 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/__pycache__/ |
Upload File : |
�
��ec � � � d Z g d�ZdZdZdZdZ ddlmZmZ n# e $ r dZdZY nw xY wd � Z
d
� Zdd�Zdd
�Z
dd�Zdd�Zd� Zd� Zd� Zedk r e� � dS dS )zHConversions to/from quoted-printable transport encoding as per RFC 1521.)�encode�decode�encodestring�decodestring� =�L s 0123456789ABCDEF� � )�a2b_qp�b2a_qpNc � � t | t � � sJ �| dv r|S | dk r|S | t k pd| cxk odk nc S )z�Decide whether a particular byte ordinal needs to be quoted.
The 'quotetabs' flag indicates whether embedded tabs and spaces should be
quoted. Note that line-ending tabs and spaces are always encoded, as per
RFC 1521.
� � _� � ~)�
isinstance�bytes�ESCAPE)�c� quotetabs�headers �/usr/lib64/python3.11/quopri.py�needsquotingr se � � �a��������F�{�{����D�y�y��
���;�1�t�q�0�0�0�0�D�0�0�0�0�1�1r c �� � t | t � � rt | � � dk sJ �t | � � } t t t
| dz t
| dz f� � z S )zQuote a single character.� � )r r �len�ordr �HEX�r s r �quoter $ sW � ��a����-�C��F�F�A�I�I�I�I��A���A��E�3�q�"�u�:�s�1�R�4�y�1�2�2�2�2r Fc � � t �=| � � � }t |||�� � }|� |� � dS |dfd�}d} | � � � }|s�ng } d}
|dd� dk r|dd� }d}
|D ]e}t |f� � }t |||� � rt
|� � }|r|dk r| � d � � �P| � |� � �f|� ||� � t � | � � }t |� � t k rG ||dt dz
� d
�� � |t dz
d� }t |� � t k �G|}��(|� |||
�� � dS dS )av Read 'input', apply quoted-printable encoding, and write to 'output'.
'input' and 'output' are binary file objects. The 'quotetabs' flag
indicates whether embedded tabs and spaces should be quoted. Note that
line-ending tabs and spaces are always encoded, as per RFC 1521.
The 'header' flag indicates whether we are encoding spaces as _ as per RFC
1522.N�r r �
c � � | rF| dd � dv r:|� | d d� t | dd � � � z |z � � d S | dk r'|� t | � � |z � � d S |� | |z � � d S )N���r
� .)�writer )�s�output�lineEnds r r'