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"
![image](https://user-images.githubusercontent.com/12440644/103462073-ba6dfe00-4d5d-11eb-9cb1-d8f1a51b9c75.png)
When I copy the directory to "test", it works fine.![image](https://user-images.githubusercontent.com/12440644/103461754-a923f200-4d5b-11eb-9fb4-e6694e137322.png)
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.
![image](https://user-images.githubusercontent.com/12440644/103462187-83e4b300-4d5e-11eb-9ae1-b0d1d5294132.png)
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.