<commit_before><?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
	version="3.1">
	<display-name>MDDoc Web Application</display-name>
	
	<filter>
    	<filter-name>set-user-filter</filter-name>
    	<filter-class>com.dhgh.mddoc.filter.SetUserFilter</filter-class>
    </filter>
    <filter-mapping>
    	<filter-name>set-user-filter</filter-name>
    	<url-pattern>*.md</url-pattern>
    </filter-mapping>
    <filter-mapping>
    	<filter-name>set-user-filter</filter-name>
    	<url-pattern>/update.do</url-pattern>
    </filter-mapping>
    
    <filter>
    	<filter-name>auth-filter</filter-name>
    	<filter-class>com.dhgh.mddoc.filter.AuthFilter</filter-class>
    </filter>
    <filter-mapping>
    	<filter-name>auth-filter</filter-name>
    	<url-pattern>*.md</url-pattern>
    </filter-mapping>
    
    
    <servlet>
       <servlet-name>markdown</servlet-name>
       <servlet-class>com.dhgh.mddoc.servlet.MDServlet</servlet-class>
    </servlet>
    
    <servlet-mapping>
       <servlet-name>markdown</servlet-name>
       <url-pattern>*.md</url-pattern>
    </servlet-mapping>
    
    
    <servlet>
       <servlet-name>login</servlet-name>
       <servlet-class>com.dhgh.mddoc.servlet.LoginServlet</servlet-class>
    </servlet>
    
    <servlet-mapping>
       <servlet-name>login</servlet-name>
       <url-pattern>/login.do</url-pattern>
    </servlet-mapping>
    
    <servlet>
       <servlet-name>update-api</servlet-name>
       <servlet-class>com.dhgh.mddoc.servlet.UpdateServlet</servlet-class>
    </servlet>
    
    <servlet-mapping>
       <servlet-name>update-api</servlet-name>
       <url-pattern>/update.do</url-pattern>
    </servlet-mapping>
    
    <servlet>
       <servlet-name>logout</servlet-name>
       <servlet-class>com.dhgh.mddoc.servlet.LogoutServlet</servlet-class>
    </servlet>
    
    <servlet-mapping>
       <servlet-name>logout</servlet-name>
       <url-pattern>/logout.do</url-pattern>
    </servlet-mapping>
    
	<welcome-file-list>
        <welcome-file>index.md</welcome-file>
    </welcome-file-list>
</web-app>
<commit_msg>修改欢迎页地址<commit_after><?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
	version="3.1">
	<display-name>MDDoc Web Application</display-name>
	
	<filter>
    	<filter-name>set-user-filter</filter-name>
    	<filter-class>com.dhgh.mddoc.filter.SetUserFilter</filter-class>
    </filter>
    <filter-mapping>
    	<filter-name>set-user-filter</filter-name>
    	<url-pattern>*.md</url-pattern>
    </filter-mapping>
    <filter-mapping>
    	<filter-name>set-user-filter</filter-name>
    	<url-pattern>/update.do</url-pattern>
    </filter-mapping>
    
    <filter>
    	<filter-name>auth-filter</filter-name>
    	<filter-class>com.dhgh.mddoc.filter.AuthFilter</filter-class>
    </filter>
    <filter-mapping>
    	<filter-name>auth-filter</filter-name>
    	<url-pattern>*.md</url-pattern>
    </filter-mapping>
    
    
    <servlet>
       <servlet-name>markdown</servlet-name>
       <servlet-class>com.dhgh.mddoc.servlet.MDServlet</servlet-class>
    </servlet>
    
    <servlet-mapping>
       <servlet-name>markdown</servlet-name>
       <url-pattern>*.md</url-pattern>
    </servlet-mapping>
    
    
    <servlet>
       <servlet-name>login</servlet-name>
       <servlet-class>com.dhgh.mddoc.servlet.LoginServlet</servlet-class>
    </servlet>
    
    <servlet-mapping>
       <servlet-name>login</servlet-name>
       <url-pattern>/login.do</url-pattern>
    </servlet-mapping>
    
    <servlet>
       <servlet-name>update-api</servlet-name>
       <servlet-class>com.dhgh.mddoc.servlet.UpdateServlet</servlet-class>
    </servlet>
    
    <servlet-mapping>
       <servlet-name>update-api</servlet-name>
       <url-pattern>/update.do</url-pattern>
    </servlet-mapping>
    
    <servlet>
       <servlet-name>logout</servlet-name>
       <servlet-class>com.dhgh.mddoc.servlet.LogoutServlet</servlet-class>
    </servlet>
    
    <servlet-mapping>
       <servlet-name>logout</servlet-name>
       <url-pattern>/logout.do</url-pattern>
    </servlet-mapping>
    
	<welcome-file-list>
        <welcome-file>index.html</welcome-file>
    </welcome-file-list>
</web-app>

{'fraction_non_alphanumeric': 0.17631693513278188, 'fraction_numerical': 0.00522420548541576, 'mean_word_length': 2.763308763308763, 'pattern_counts': {'":': 0, '<': 177, '<?xml version=': 2, '>': 177, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 18}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3080504', 'n_tokens_mistral': 1681, 'n_tokens_neox': 1669, 'n_words': 136}