1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
6<TITLE>
7OWASP Java HTML Sanitizer
8</TITLE>
9<SCRIPT type="text/javascript">
10    targetPage = "" + window.location.search;
11    if (targetPage != "" && targetPage != "undefined")
12        targetPage = targetPage.substring(1);
13    if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
14        targetPage = "undefined";
15    function validURL(url) {
16        var pos = url.indexOf(".html");
17        if (pos == -1 || pos != url.length - 5)
18            return false;
19        var allowNumber = false;
20        var allowSep = false;
21        var seenDot = false;
22        for (var i = 0; i < url.length - 5; i++) {
23            var ch = url.charAt(i);
24            if ('a' <= ch && ch <= 'z' ||
25                    'A' <= ch && ch <= 'Z' ||
26                    ch == '$' ||
27                    ch == '_') {
28                allowNumber = true;
29                allowSep = true;
30            } else if ('0' <= ch && ch <= '9'
31                    || ch == '-') {
32                if (!allowNumber)
33                     return false;
34            } else if (ch == '/' || ch == '.') {
35                if (!allowSep)
36                    return false;
37                allowNumber = false;
38                allowSep = false;
39                if (ch == '.')
40                     seenDot = true;
41                if (ch == '/' && seenDot)
42                     return false;
43            } else {
44                return false;
45            }
46        }
47        return true;
48    }
49    function loadFrames() {
50        if (targetPage != "" && targetPage != "undefined")
51             top.classFrame.location = top.targetPage;
52    }
53</SCRIPT>
54<NOSCRIPT>
55</NOSCRIPT>
56</HEAD>
57<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
58<FRAMESET rows="30%,70%" title="" onLoad="top.loadFrames()">
59<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
60<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
61</FRAMESET>
62<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
63<NOFRAMES>
64<H2>
65Frame Alert</H2>
66
67<P>
68This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
69<BR>
70Link to<A HREF="overview-summary.html">Non-frame version.</A>
71</NOFRAMES>
72</FRAMESET>
73</HTML>
74