<commit_before><%@page pageEncoding="UTF-8" %>
<%@ page import="com.stratelia.webactiv.util.GeneralPropertiesManager"%>
<%@ page import="com.stratelia.webactiv.util.ResourceLocator"%>
<%@ page import="com.stratelia.silverpeas.authentication.*"%>

<%
response.setHeader("Cache-Control","no-store"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires",-1); //prevents caching at the proxy server
%>

<%
String sURI = request.getRequestURI();
String sServletPath = request.getServletPath();
String sPathInfo = request.getPathInfo();
if(sPathInfo != null) {
  sURI = sURI.substring(0,sURI.lastIndexOf(sPathInfo));
}
String m_context = ".."+ sURI.substring(0,sURI.lastIndexOf(sServletPath));

String errorCode = request.getParameter("ErrorCode");
String domainId = null;
if(com.silverpeas.util.StringUtil.isInteger(request.getParameter("DomainId"))) {
  domainId = request.getParameter("DomainId");
}

ResourceLocator general = new ResourceLocator("com.stratelia.silverpeas.lookAndFeel.generalLook", "");
String loginPage = general.getString("loginPage");
if (! com.silverpeas.util.StringUtil.isDefined(loginPage)){
  loginPage = m_context+"/defaultLogin.jsp";
}
loginPage += "?DomainId="+domainId+"&ErrorCode="+errorCode+"&logout="+request.getParameter("logout");
response.sendRedirect(loginPage);
%><commit_msg>error on parenthesis<commit_after><%@page pageEncoding="UTF-8" %>
<%@ page import="com.stratelia.webactiv.util.GeneralPropertiesManager"%>
<%@ page import="com.stratelia.webactiv.util.ResourceLocator"%>
<%@ page import="com.stratelia.silverpeas.authentication.*"%>

<%
response.setHeader("Cache-Control","no-store"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires",-1); //prevents caching at the proxy server
%>

<%
String sURI = request.getRequestURI();
String sServletPath = request.getServletPath();
String sPathInfo = request.getPathInfo();
if(sPathInfo != null) {
  sURI = sURI.substring(0,sURI.lastIndexOf(sPathInfo));
}
String m_context = ".."+ sURI.substring(0,sURI.lastIndexOf(sServletPath));

String errorCode = request.getParameter("ErrorCode");
String domainId = null;
if(com.silverpeas.util.StringUtil.isInteger(request.getParameter("DomainId"))) {
  domainId = request.getParameter("DomainId");
}

ResourceLocator general = new ResourceLocator("com.stratelia.silverpeas.lookAndFeel.generalLook", "");
String loginPage = general.getString("loginPage");
if (! com.silverpeas.util.StringUtil.isDefined(loginPage)) {
  loginPage = m_context+"/defaultLogin.jsp";
}
loginPage += "?DomainId="+domainId+"&ErrorCode="+errorCode+"&logout="+request.getParameter("logout");
response.sendRedirect(loginPage);
%>
{'fraction_non_alphanumeric': 0.17391304347826086, 'fraction_numerical': 0.0058953574060427415, 'mean_word_length': 7.591772151898734, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '6594348', 'n_tokens_mistral': 896, 'n_tokens_neox': 895, 'n_words': 124}