Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/trac/web/__pycache__/ |
Upload File : |
o �k�`z? � @ s8 d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlm Z d dl mZ d dl mZmZ d dlmZ d dlmZmZ d dlmZ d dlmZmZ G d d � d e�ZG dd� de�ZG d d� de�ZG dd� de e�ZG dd� de�ZG dd� de�Z ddd�Z!dd� Z"e#dkr�e�$de � e"� dS dS )� N)�ThreadingMixIn)�__version__)� autoreload�daemon��printerr)�BasicAuthentication�DigestAuthentication)�dispatch_request)� WSGIServer�WSGIRequestHandlerc @ s e Zd Zddd�Zdd� ZdS )�AuthenticationMiddlewareNc C s* || _ || _|| _|rd| _d S d| _d S )Nr � )�application�auths�single_env_name�part)�selfr r r � r �5/usr/lib/python3/dist-packages/trac/web/standalone.py�__init__* s z!AuthenticationMiddleware.__init__c C s� |� dd�}ttd |�d���}t|�| jkrB|| j dkrB| jp$|d }|rB| j� || j� d��}|rB|�||�}|s>g S ||d<