johnmuhl
(John Muhl)
8월 15, 2015, 11:55오후
1
Links like this https://meta.discourse.org/t/site-being-phished-on-third-party-domain/32112 work but when you only use the /t/:id part like this https://meta.discourse.org/t/32112 you get an error instead.
Reloading the error page causes the correct page to load.
1개의 좋아요
That is not intended to work. Why would anyone expect that to work?
Add a slug of 1 character if you want the “shortest” form.
johnmuhl
(John Muhl)
8월 16, 2015, 12:03오전
3
I only expected it to work since pasting the short URL into the address bar and pressing enter works.
3개의 좋아요
riking
(Kane York)
8월 16, 2015, 9:49오전
4
This is actually the same issue as not being able to click this link:
https://meta.discourse.org/raw/32165/1
The Ember router, if it can’t find a route, just gives up and shows the error page. (The error page for a network request, no less ) We need to tell it to make a HEAD request if the route isn’t found and do a non-pushState() navigation if the page exists.
3개의 좋아요
sam
(Sam Saffron)
8월 16, 2015, 9:59오전
5
For this case the simpler fix is just adding a route
2개의 좋아요