Skip to content

Commit

Permalink
Use object's reported handle instead of user provided handle
Browse files Browse the repository at this point in the history
  • Loading branch information
tdonohue committed Jul 27, 2020
1 parent 294bb02 commit b006b84
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -86,7 +86,8 @@ protected void processRequest(HttpServletRequest request, HttpServletResponse re
response.sendError(HttpServletResponse.SC_NOT_FOUND);
return;
}

// use object's reported handle for redirect (just in case user provided handle had odd characters)
handle = dso.getHandle();
// close the context and send forward.
context.abort();
Negotiator.sendRedirect(response, handle, "", requestedMimeType, true);
Expand Down

0 comments on commit b006b84

Please sign in to comment.