<commit_before>
    <servlet>
        <servlet-name>QueryServlet</servlet-name>
        <servlet-class>org.archive.wayback.query.QueryServlet</servlet-class>
        <init-param>
            <param-name>queryui.jsppath</param-name>
            <param-value>jsp/QueryUI</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>QueryServlet</servlet-name>
        <url-pattern>/query</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>XMLQueryServlet</servlet-name>
        <servlet-class>org.archive.wayback.query.QueryServlet</servlet-class>
        <init-param>
            <param-name>queryui.jsppath</param-name>
            <param-value>jsp/QueryXMLUI</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>XMLQueryServlet</servlet-name>
        <url-pattern>/xmlquery</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>ReplayServlet</servlet-name>
        <servlet-class>org.archive.wayback.replay.ReplayServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>ReplayServlet</servlet-name>
        <url-pattern>/replay</url-pattern>
    </servlet-mapping>

    <filter>
        <filter-name>ReplayFilter</filter-name>
        <filter-class>org.archive.wayback.proxy.ReplayFilter</filter-class>

        <init-param>
            <param-name>handler.url</param-name>
            <param-value>/replay</param-value>
        </init-param>

        <init-param>
            <param-name>query.localhostname</param-name>
            <param-value></param-value>
            <description>extra hostname that should be considered "local" when
                         discriminating between Replays and Queries requests
            </description>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>ReplayFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

	
    <context-param>
        <param-name>queryrenderer.classname</param-name>
        <param-value>org.archive.wayback.query.Renderer</param-value>
        <description>Implementation responsible for drawing Index Query results</description>
    </context-param>

    <context-param>
        <param-name>replayrenderer.classname</param-name>
        <param-value>org.archive.wayback.proxy.RawReplayRenderer</param-value>
        <description>Implementation responsible for drawing replayed resources and replay error messages</description>
    </context-param>

    <context-param>
        <param-name>replayui.jsppath</param-name>
        <param-value>jsp/ReplayUI</param-value>
        <description>RawReplayUI specific path to jsp pages. relative to webapp/</description>
    </context-param>

    <context-param>
        <param-name>replayuriconverter.classname</param-name>
        <param-value>org.archive.wayback.proxy.RedirectResultURIConverter</param-value>
        <description>Class that implements translation of index results to Replayable URIs for this Wayback</description>
    </context-param>

    <context-param>
        <param-name>proxy.redirectpath</param-name>
        <param-value>/jsp/QueryUI/Redirect.jsp</param-value>
        <description>jsp where requests are bounced thru to pick up timestamps</description>
    </context-param><commit_msg>BUGFIX: proxy.redirect needs to be an absolute URL -- otherwise it ends up being relative to the server being viewed.<commit_after>
    <servlet>
        <servlet-name>QueryServlet</servlet-name>
        <servlet-class>org.archive.wayback.query.QueryServlet</servlet-class>
        <init-param>
            <param-name>queryui.jsppath</param-name>
            <param-value>jsp/QueryUI</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>QueryServlet</servlet-name>
        <url-pattern>/query</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>XMLQueryServlet</servlet-name>
        <servlet-class>org.archive.wayback.query.QueryServlet</servlet-class>
        <init-param>
            <param-name>queryui.jsppath</param-name>
            <param-value>jsp/QueryXMLUI</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>XMLQueryServlet</servlet-name>
        <url-pattern>/xmlquery</url-pattern>
    </servlet-mapping>

    <servlet>
        <servlet-name>ReplayServlet</servlet-name>
        <servlet-class>org.archive.wayback.replay.ReplayServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>ReplayServlet</servlet-name>
        <url-pattern>/replay</url-pattern>
    </servlet-mapping>

    <filter>
        <filter-name>ReplayFilter</filter-name>
        <filter-class>org.archive.wayback.proxy.ReplayFilter</filter-class>

        <init-param>
            <param-name>handler.url</param-name>
            <param-value>/replay</param-value>
        </init-param>

        <init-param>
            <param-name>query.localhostname</param-name>
            <param-value></param-value>
            <description>extra hostname that should be considered "local" when
                         discriminating between Replay and Query requests
            </description>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>ReplayFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

	
    <context-param>
        <param-name>queryrenderer.classname</param-name>
        <param-value>org.archive.wayback.query.Renderer</param-value>
        <description>Implementation responsible for drawing Index Query results</description>
    </context-param>

    <context-param>
        <param-name>replayrenderer.classname</param-name>
        <param-value>org.archive.wayback.proxy.RawReplayRenderer</param-value>
        <description>Implementation responsible for drawing replayed resources and replay error messages</description>
    </context-param>

    <context-param>
        <param-name>replayui.jsppath</param-name>
        <param-value>jsp/ReplayUI</param-value>
        <description>RawReplayUI specific path to jsp pages. relative to webapp/</description>
    </context-param>

    <context-param>
        <param-name>replayuriconverter.classname</param-name>
        <param-value>org.archive.wayback.proxy.RedirectResultURIConverter</param-value>
        <description>Class that implements translation of index results to Replayable URIs for this Wayback</description>
    </context-param>

    <context-param>
        <param-name>proxy.redirectpath</param-name>
        <param-value>http://localhost:8080/jsp/QueryUI/Redirect.jsp</param-value>
        <description>absolute URL to jsp where requests are bounced thru to pick up timestamps</description>
    </context-param>
{'fraction_non_alphanumeric': 0.12971142520612486, 'fraction_numerical': 0.0005889281507656066, 'mean_word_length': 2.6858383071079763, 'pattern_counts': {'":': 0, '<': 231, '<?xml version=': 0, '>': 231, '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': '1646107', 'n_tokens_mistral': 1988, 'n_tokens_neox': 1954, 'n_words': 286}