I have an incognito browser window open that is logged into Programmers, but not to StackOverflow. I have a separate browser window that is logged into all SE sites. (If you must know, my StayFocused time is expired so I'm using an incognito window to access Programmers)
I clicked on an inbox notification from my incognito browser for a comment reply on a SO question that has been closed as a duplicate, however clicking the link takes me to the linked duplicate question instead of the comment reply on the closed question (it also looks a bit funny to me, as the ads are suppressed but space is still blocked out for them).
The exact link my Inbox gives me is https://stackoverflow.com/posts/comments/20442845
If I use this in my regular browser window, it gets translated correctly into How to automatically resize a font for a given height and width when creating an image (e.g. .jpeg)
But if I use this in my incognito window that isn't logged into SO, it gets translated to How to grow/shrink a TextBlock (Font Size) to the available space in WPF?
This does not happen with other SO inbox notifications from the incognito browser window, so I'm assuming it has something to do with the question being closed as a duplicate.
Soooo I figured I'd be a good citizen and report it as a bug :)
/posts/comments/#
route probably should probably check if that redirect is going to occur in advance and send a no-redirect flag when necessary, since obviously you don't get where it intended you to go in this case.noredirect
URL flag doesn't work for duplicate redirects for unauthenticated users. As well, how would the system know before-hand that you're not currently logged in on the other site?/posts/comments/#
route is that the question it will redirect to is closed in such a way as to cause a redirection, and then instead serve up the flagged URL appropriately. Since that route is used for viewing comments, it "knows" if you're hitting it it should make a best-effort to get you to the comment.noredirect
to those links. Is there any real harm in that? Seems like adding a check is a waste of effort for such a slim-occurring scenario.