Normalize copyright headers.
This commit is contained in:
parent
f7cb3957dd
commit
699bf433c9
19 changed files with 411 additions and 32 deletions
|
@ -2,7 +2,7 @@
|
||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" path="src"/>
|
<classpathentry kind="src" path="src"/>
|
||||||
<classpathentry kind="src" path="test"/>
|
<classpathentry kind="src" path="test"/>
|
||||||
<classpathentry kind="lib" path="lib/servlet-api.jar"/>
|
<classpathentry kind="lib" path="lib/servlet-api.jar" sourcepath="/KIWA/resources/extra-jars/servlet-api-2.4-sources.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/hamcrest-core-1.3.jar"/>
|
<classpathentry kind="lib" path="lib/hamcrest-core-1.3.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/junit-4.11.jar"/>
|
<classpathentry kind="lib" path="lib/junit-4.11.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/log4j-1.2.17.jar"/>
|
<classpathentry kind="lib" path="lib/log4j-1.2.17.jar"/>
|
||||||
|
|
59
.settings/com.wdev91.eclipse.copyright.xml
Normal file
59
.settings/com.wdev91.eclipse.copyright.xml
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<project>
|
||||||
|
<owner></owner>
|
||||||
|
<copyright><![CDATA[Copyright (C) 2014 Christian Pierre MOMON
|
||||||
|
|
||||||
|
This file is part of Devinsy-utils.
|
||||||
|
|
||||||
|
Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>]]></copyright>
|
||||||
|
<header contentId="org.eclipse.pde.fragmentManifest" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.pluginProperties" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.productFile" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.jst.j2ee.appclientDD" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.ant.core.antBuildFile" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.simpleCheatSheet" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.core.runtime.xml" postBlankLines="0" lineFormat="false" preserveFirstLine="true">
|
||||||
|
<beginLine><![CDATA[<!--]]></beginLine>
|
||||||
|
<linePrefix><![CDATA[ ]]></linePrefix>
|
||||||
|
<endLine><![CDATA[-->]]></endLine>
|
||||||
|
<firstLinePattern><![CDATA[<\?xml version=.*\?>]]></firstLinePattern>
|
||||||
|
</header>
|
||||||
|
<header contentId="org.eclipse.jst.j2ee.webDD" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.compositeCheatSheet" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.schema" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.jst.j2ee.earDD" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.tocFile" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.ctxHelpFile" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.jdt.core.JARManifest" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.categoryManifest" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.buildProperties" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.ui.views.log.log" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.siteManifest" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.targetFile" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.bundleManifest" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.jst.j2ee.connectorDD" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.pluginManifest" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.core.runtime.text" postBlankLines="0" lineFormat="true" preserveFirstLine="false">
|
||||||
|
<beginLine><![CDATA[#-------------------------------------------------------------------------------]]></beginLine>
|
||||||
|
<linePrefix><![CDATA[# ]]></linePrefix>
|
||||||
|
<endLine><![CDATA[#-------------------------------------------------------------------------------]]></endLine>
|
||||||
|
</header>
|
||||||
|
<header contentId="org.eclipse.jst.j2ee.ejbDD" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.pde.featureManifest" excluded="true" />
|
||||||
|
<header contentId="org.eclipse.jdt.core.javaSource" postBlankLines="0" lineFormat="false" preserveFirstLine="false">
|
||||||
|
<beginLine><![CDATA[/**]]></beginLine>
|
||||||
|
<linePrefix><![CDATA[ * ]]></linePrefix>
|
||||||
|
<endLine><![CDATA[ */]]></endLine>
|
||||||
|
</header>
|
||||||
|
</project>
|
|
@ -1,5 +1,22 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web;
|
package fr.devinsy.kiss4web;
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
import java.io.UnsupportedEncodingException;
|
||||||
|
|
||||||
import javax.servlet.http.Cookie;
|
import javax.servlet.http.Cookie;
|
||||||
|
@ -9,6 +26,7 @@ import javax.servlet.http.HttpServletResponse;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web;
|
package fr.devinsy.kiss4web;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web;
|
package fr.devinsy.kiss4web;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web;
|
package fr.devinsy.kiss4web;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -242,17 +260,17 @@ public class PageManager extends HttpServlet
|
||||||
char charSource = source[nChar];
|
char charSource = source[nChar];
|
||||||
switch (charSource)
|
switch (charSource)
|
||||||
{
|
{
|
||||||
case '/':
|
case '/':
|
||||||
target[nChar - 1] = '.';
|
target[nChar - 1] = '.';
|
||||||
lastStartToken = nChar;
|
lastStartToken = nChar;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '.':
|
case '.':
|
||||||
target[lastStartToken] = Character.toUpperCase(target[lastStartToken]);
|
target[lastStartToken] = Character.toUpperCase(target[lastStartToken]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
target[nChar - 1] = source[nChar];
|
target[nChar - 1] = source[nChar];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -287,13 +305,13 @@ public class PageManager extends HttpServlet
|
||||||
char charSource = source[nChar];
|
char charSource = source[nChar];
|
||||||
switch (charSource)
|
switch (charSource)
|
||||||
{
|
{
|
||||||
case '/':
|
case '/':
|
||||||
target[nChar - 1] = '.';
|
target[nChar - 1] = '.';
|
||||||
lastStartToken = nChar + 1;
|
lastStartToken = nChar + 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
target[nChar - 1] = source[nChar];
|
target[nChar - 1] = source[nChar];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web;
|
package fr.devinsy.kiss4web;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
|
@ -1,9 +1,21 @@
|
||||||
/**
|
/**
|
||||||
* @author Christian Momon, June 2008.
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
* This file is free software under the terms of the GNU Library General Public License
|
*
|
||||||
* as published by the Free Software Foundation version 2 or any later version.
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package fr.devinsy.kiss4web;
|
package fr.devinsy.kiss4web;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web;
|
package fr.devinsy.kiss4web;
|
||||||
|
|
||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web;
|
package fr.devinsy.kiss4web;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
|
|
@ -1,9 +1,21 @@
|
||||||
/**
|
/**
|
||||||
* @author Christian Momon, June 2008. This file is free software under the
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
* terms of the GNU Library General Public License as published by the
|
*
|
||||||
* Free Software Foundation version 2 or any later version.
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package fr.devinsy.kiss4web;
|
package fr.devinsy.kiss4web;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
@ -26,7 +38,7 @@ import org.slf4j.LoggerFactory;
|
||||||
import fr.devinsy.util.StringList;
|
import fr.devinsy.util.StringList;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Rename KissDispatcher?
|
||||||
*/
|
*/
|
||||||
public class SimpleServletDispatcher extends HttpServlet
|
public class SimpleServletDispatcher extends HttpServlet
|
||||||
{
|
{
|
||||||
|
@ -49,13 +61,11 @@ public class SimpleServletDispatcher extends HttpServlet
|
||||||
|
|
||||||
private String webclassesRootPath;
|
private String webclassesRootPath;
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* "Code can be shortest, speedest and memory smallest, but not the three in same time, only two"
|
* "Code can be shortest, speedest and memory smallest, but not the three in same time, only two", unknow citation.
|
||||||
* , unknow citation.
|
|
||||||
*
|
*
|
||||||
* Note: characters array avalaible here
|
* Note: characters array avalaible here
|
||||||
* http://fr.wikipedia.org/wiki/Table_des_caract
|
* http://fr.wikipedia.org/wiki/Table_des_caract%C3%A8res_Unicode_%280000-0FFF%29
|
||||||
* %C3%A8res_Unicode_%280000-0FFF%29
|
|
||||||
*/
|
*/
|
||||||
static protected char NONE = (char) 0;
|
static protected char NONE = (char) 0;
|
||||||
|
|
||||||
|
@ -110,6 +120,38 @@ public class SimpleServletDispatcher extends HttpServlet
|
||||||
* // web.xml url-pattern =
|
* // web.xml url-pattern =
|
||||||
* path = request.getPathInfo();
|
* path = request.getPathInfo();
|
||||||
* }
|
* }
|
||||||
|
*
|
||||||
|
* https://issues.apache.org/bugzilla/show_bug.cgi?id=11318
|
||||||
|
* A number of features have been introduced in later versions of Tomcat
|
||||||
|
* that relate to URI encoding. This includes a URIEncoding attribute
|
||||||
|
* on the Coyote HTTP/1.1 connector which defaults to ISO-8859-1.
|
||||||
|
*
|
||||||
|
* According to the servlet specification:
|
||||||
|
* HttpServletRequest.getPathInfo() should be decoded by the web container;
|
||||||
|
* HttpServletRequest.getRequestURI() should not be decoded by the web container.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* http://stackoverflow.com/questions/15278512/safe-html-form-accept-charset/15587140#15587140
|
||||||
|
* The standard URL encoding must use UTF-8 yet servlets not only default to ISO-8859-1 but don't offer
|
||||||
|
* any way to change that with code.
|
||||||
|
* Sure you can req.setRequestEncoding("UTF-8") before you read anything, but for some ungodly reason this only affects request body,
|
||||||
|
* not query string parameters. There is nothing in the servlet request interface to specify the encoding used for query string parameters.
|
||||||
|
* Using ISO-8859-1 in your form is a hack. Using this ancient encoding will cause more problems than solve for sure.
|
||||||
|
* Especially since browsers do not support ISO-8859-1 and always treat it as Windows-1252. Whereas servlets treat ISO-8859-1 as ISO-8859-1,
|
||||||
|
* so you will be screwed beyond belief if you go with this.
|
||||||
|
* To change this in Tomcat for example, you can use the URIEncoding attribute in your <connector> element:
|
||||||
|
* <connector ... URIEncoding="UTF-8" ... />
|
||||||
|
*
|
||||||
|
* If you don't use a container that has these settings, can't change its settings or some other issue,
|
||||||
|
* you can still make it work because ISO-8859-1 decoding retains full information from the original binary.
|
||||||
|
* String correct = new String(request.getParameter("test").getBytes("ISO-8859-1"), "UTF-8")
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
|
||||||
|
* URIEncoding
|
||||||
|
* This specifies the character encoding used to decode the URI bytes, after %xx decoding the URL.
|
||||||
|
* If not specified, ISO-8859-1 will be used.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
// String path = request.getRequestURI();
|
// String path = request.getRequestURI();
|
||||||
String path = request.getPathInfo();
|
String path = request.getPathInfo();
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web.security;
|
package fr.devinsy.kiss4web.security;
|
||||||
|
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web.security;
|
package fr.devinsy.kiss4web.security;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web.security;
|
package fr.devinsy.kiss4web.security;
|
||||||
|
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web.security;
|
package fr.devinsy.kiss4web.security;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web.security;
|
package fr.devinsy.kiss4web.security;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package fr.devinsy.kiss4web.security;
|
package fr.devinsy.kiss4web.security;
|
||||||
|
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
|
|
|
@ -1,11 +1,25 @@
|
||||||
/**
|
/**
|
||||||
* Kiss4Web tests.
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import fr.devinsy.kiss4web.ServletDispatcher;
|
import fr.devinsy.kiss4web.ServletDispatcher;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Kiss4Web tests.
|
||||||
*/
|
*/
|
||||||
class FooSandbox
|
class FooSandbox
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* Copyright (C) 2006-2010, 2013-2014 Christian Pierre MOMON
|
||||||
|
*
|
||||||
|
* This file is part of Devinsy-utils.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* Devinsy-utils is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Devinsy-utils. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
*/
|
||||||
package one;
|
package one;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
Loading…
Reference in a new issue