rstudio / shiny-server

Host Shiny applications over the web.
https://rstudio.com/shiny/server
Other
712 stars 291 forks source link

Application URLs Without Trailing Slash Fail #548

Open DarioS opened 1 year ago

DarioS commented 1 year ago

We have an index page with links such as http://shiny.maths.usyd.edu.au/CPOP that worked for the past few years. Recently, that causes a blank page to be shown with no debugging output to help troubleshoot. However, everything is fine with http://shiny.maths.usyd.edu.au/CPOP/. There was an operating system kernel update by the system administrator at around the same time as the blank screen began. Reinstalling the latest version of Shiny Server didn't help. Could Shiny Server seamlessly work for both formats? The slash-free addresses are in all of our team's published journal articles.

calcium90 commented 5 months ago

This issue is even more annoying for our use case as we run it through a web application firewall which handles authentication. It seems the trailing slash gets stripped out by our WAF so users need to log in, get redirected to 'Page not found' then add the slash again to get to the page.