Skip to content

Commit

Permalink
revert change to fix short visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
litvinovg committed Oct 25, 2024
1 parent b353e55 commit e402232
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ private VisualizationRequestHandler getVisualizationRequestHandler(
private List<String> extractShortURLParameters(VitroRequest vitroRequest) {

List<String> matchedGroups = new ArrayList<String>();
String subURIString = vitroRequest.getRequestURI().substring(ContextPath.getPath(vitroRequest).length()+1);
String subURIString = vitroRequest.getRequestURI().substring(vitroRequest.getContextPath().length()+1);
String[] urlParams = StringEscapeUtils.ESCAPE_HTML4.translate(subURIString).split("/");

if (urlParams.length > 1
Expand Down

0 comments on commit e402232

Please sign in to comment.