Skip to content

Commit

Permalink
Add temp workaround for some WO adaptor URL rewriting madness
Browse files Browse the repository at this point in the history
  • Loading branch information
hugithordarson committed Jun 17, 2024
1 parent 549226c commit 1589440
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ng-appserver/src/main/java/ng/appserver/NGApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,11 @@ private void rewriteURL( final NGRequest request ) {
logger.info( "Rewrote: {}", request.uri() );
}
}

// FIXME: Currently required to handle a little fun with how WO adaptor URLs are structured and how we rewrite them. Investigate if we can fix this at a more sane level // Hugi 2024-06-17
if( request.uri().isEmpty() ) {
request.setURI( "/" );
}
}

/**
Expand Down

0 comments on commit 1589440

Please sign in to comment.