Open wzrzt opened 3 years ago
I still have this question
I still have this question Maybe the Fix is still not merged. You can try this way. Find lib/router/directory-router.js file under the directory where your rstudio-server locates. And the update "unescape" to "decodeURIComponent", "escape" to "encodeURIComponent". Update all these 2 words in directory-router.js file. Then restart studio-sever. It will work.
I found that shiny-server go wrong when url contains Chinese characters.
When I click "测试",it shows "Bad Request"
When I copy the directory to "test", it works fine.
My shiny server version:
I'm building blog site with blogdown on shiny server, and post a new Rmd with Chinese name and it doesn't work. Then I tried to make directory with Chinese name in shiny server directory
/srv/shiny-server
and found this problem. Hope there is a solution. Thank you.I found other's shiny server has the same error too.
this works fine http://www.baoruidata.com/examples/022-unicode-chinese/ and other shiny apps, files.
but when click the last Chinese file name, Bad Request.