ldbobby / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

ChangePassword doesn't work with IE and AccessManager (Novell) #315

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When the user access the page to change password, exceptions appears in tomcat 
log.

2013-01-03 11:17:52, ERROR, servlet.ResourceFileServlet, {37} unexpected error 
detecting/handling special request uri: An exception occurred pr
ocessing JSP page /WEB-INF/jsp/pwmVariablesJS.jsp at line 53

50: <% final ResourceBundle bundle = 
ResourceBundle.getBundle(Display.class.getName()); %>
51: <% final Locale userLocale = pwmSession.getSessionStateBean().getLocale() 
== null ? PwmConstants.DEFAULT_LOCALE : 
pwmSession.getSessionStateBean().getLocale(); %>
52: <% for (final String key : new 
TreeSet<String>(Collections.list(bundle.getKeys()))) { %>
53:     
PWM_STRINGS['<%=key%>']='<%=StringEscapeUtils.escapeJavaScript(Display.getLocali
zedMessage(userLocale,key,pwmApplication.getConfig()))%>';
54: <% } %>
55: }
56:

What steps will reproduce the problem?
1. Open IE and access the URL: https://host/pwm/private/ChangePassword
2. Fill user/password.
3. Fill old and new password.

What is the expected output? What do you see instead?
I expected the page show strength from new password, and change the password.

What version of PWM are you using?
I´m using 1.6.4

What ldap directory and version are you using?
eDir 8.8_SP7

I resolved this issue change this file 
/servlet/web/WEB-INF/jsp/fragment/header.jsp

I insert this lines (46, 47, 48):

45:    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7" />
46:    <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
47:    <meta http-equiv="EXPIRES" content="Mon, 22 Jul 2002 11:12:01 GMT">
48:    <meta http-equiv="PRAGMA" content="NO-CACHE">

Regards,
Alberto Yano

Original issue reported on code.google.com by alberto....@gmail.com on 3 Jan 2013 at 2:52

GoogleCodeExporter commented 9 years ago
Is this issue seen with current nightly builds?

Original comment by jrivard on 11 Mar 2013 at 5:52

GoogleCodeExporter commented 9 years ago
This issue seen with 1.6.4 version.

Original comment by alberto....@gmail.com on 11 Mar 2013 at 9:40