Skip to content

Commit 1589440

Browse files
Add temp workaround for some WO adaptor URL rewriting madness
1 parent 549226c commit 1589440

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ng-appserver/src/main/java/ng/appserver/NGApplication.java

+5
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,11 @@ private void rewriteURL( final NGRequest request ) {
544544
logger.info( "Rewrote: {}", request.uri() );
545545
}
546546
}
547+
548+
// 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
549+
if( request.uri().isEmpty() ) {
550+
request.setURI( "/" );
551+
}
547552
}
548553

549554
/**

0 commit comments

Comments
 (0)