Access Denied when clicking on a /t/id link


I believe this used to work, but just stumbled across this bug today…
For some reason, shortening a topic url to seems to break the site when clicking on it from within discourse:

Whereas the url still works when typing/pasting it directly into a browser.

(Joshua Rosenfeld) #2

Can confirm. Interestingly opening in a new tab (Ctrl + clicking or right clicking) does work.

(Jeff Atwood) #3

Not entirely sure this should work let’s ask @eviltrout tomorrow.

(Mittineague) #4

AFAIK the router needs a “slug” (normally the dasherized topic title) eg.

(Régis Hanol) #5

Exactly. We’re just being more clever server-side than client-side :wink: