johnmuhl
(John Muhl)
August 15, 2015, 11:55pm
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 Like
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)
August 16, 2015, 12:03am
3
I only expected it to work since pasting the short URL into the address bar and pressing enter works.
3 Likes
riking
(Kane York)
August 16, 2015, 9:49am
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 Likes
sam
(Sam Saffron)
August 16, 2015, 9:59am
5
For this case the simpler fix is just adding a route
2 Likes