<commit_before><?xml version="1.0"?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
    <constant name="struts.convention.default.parent.package" value="yidu-default" />
    <constant name="struts.enable.DynamicMethodInvocation" value="true" />
    <constant name="struts.url.includeParams" value="none" />
    <constant name="struts.ui.theme" value="css_xhtml" />
    <constant name="struts.multipart.maxSize" value="-1" />
    <constant name="struts.ognl.allowStaticMethodAccess" value="true" />
    <constant name="struts.objectFactory" value="org.apache.struts2.spring.StrutsSpringObjectFactory" />
    <constant name="struts.devMode" value="false" />
    <constant name="struts.i18n.reload" value="false" />
    <constant name="struts.custom.i18n.resources" value="language.package" />
    <package name="yidu-default" extends="struts-default">
        <result-types>
            <result-type name="json" class="org.apache.struts2.json.JSONResult">
                <param name="root">data</param>
                <param name="noCache">true</param>
                <param name="excludeNullProperties">true</param>
            </result-type>
            <result-type name="stream" class="org.apache.struts2.dispatcher.StreamResult" />
        </result-types>
        <interceptors>
             <interceptor name="errorHandle" class="org.yidu.novel.interceptor.ErrorInterceptor" /><commit_msg>修改index可以跨目录遍历的问题<commit_after><?xml version="1.0"?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
    <constant name="struts.convention.default.parent.package" value="yidu-default" />
    <constant name="struts.enable.DynamicMethodInvocation" value="true" />
    <constant name="struts.url.includeParams" value="none" />
    <constant name="struts.ui.theme" value="css_xhtml" />
    <constant name="struts.multipart.maxSize" value="-1" />
    <constant name="struts.ognl.allowStaticMethodAccess" value="true" />
    <constant name="struts.objectFactory" value="org.apache.struts2.spring.StrutsSpringObjectFactory" />
    <constant name="struts.devMode" value="false" />
    <constant name="struts.i18n.reload" value="false" />
    <constant name="struts.custom.i18n.resources" value="language.package" />
    <constant name="struts.mapper.alwaysSelectFullNamespace" value="false" />
    <package name="yidu-default" extends="struts-default">
        <result-types>
            <result-type name="json" class="org.apache.struts2.json.JSONResult">
                <param name="root">data</param>
                <param name="noCache">true</param>
                <param name="excludeNullProperties">true</param>
            </result-type>
            <result-type name="stream" class="org.apache.struts2.dispatcher.StreamResult" />
        </result-types>
        <interceptors>
             <interceptor name="errorHandle" class="org.yidu.novel.interceptor.ErrorInterceptor" />
{'fraction_non_alphanumeric': 0.16084142394822007, 'fraction_numerical': 0.009061488673139158, 'mean_word_length': 3.586053412462908, 'pattern_counts': {'":': 0, '<': 58, '<?xml version=': 2, '>': 58, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6249046', 'n_tokens_mistral': 983, 'n_tokens_neox': 952, 'n_words': 133}