Revision 215
Added by bojilova over 24 years ago
src/edu/ucsb/nceas/metacat/MetaCatServlet.java | ||
---|---|---|
272 | 272 |
String pw = (String)params.get("password"); |
273 | 273 |
|
274 | 274 |
MetaCatSession sess = new MetaCatSession(request, un, pw); |
275 |
try { |
|
275 |
try {
|
|
276 | 276 |
if (sess.userAuth(pw)) { |
277 | 277 |
try { |
278 |
response.sendRedirect("/xmltodb/lib/index.html");
|
|
278 |
response.sendRedirect(response.encodeRedirectUrl("/xmltodb/lib/index.html"));
|
|
279 | 279 |
} catch ( java.io.IOException ioe) { |
280 | 280 |
sess.disconnect(); |
281 | 281 |
out.println("MetaCatServlet.handleLoginAction() - " + |
Also available in: Unified diff
changed to
response.sendRedirect(response.encodeRedirectUrl("/xmltodb/lib/index.html"));