johnmuhl
(John Muhl)
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)
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)
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)
16 أغسطس 2015، 9:59ص
5
For this case the simpler fix is just adding a route
إعجابَين (2)