80

Today I received a notification for reputation gain for an approved edit suggestion, and I found out that the link is relative. This means that if the achievement is on a different site in the network than the one you are on, it won't take you to the correct site, and instead it will take you to the same path in the site you are on. This results in you going to whatever page contains a question or answer with the same post ID.

Here is a screenshot to illustrate:

Achievement notification with relative URL

Note that the achievement is from The Workplace. Also note that the URL is relative. Clicking on this link caused me to go here: https://meta.stackexchange.com/questions/131846/report-sites-that-use-stack-exchange-content-without-following-attribution-rules/191951#191951. This page happens to have the same answer ID as the question ID in the achievement notification.

It looks like this only affects reputation gains from suggested edit approvals. However, the very next notification in my screenshot is from Software Engineering and it has a absolute URL. Maybe a regression happened in the time period between receiving those notifications. The very next notification entry in my screenshot is also for +2 rep but it's for accepting an answer. So it's not the same thing.

2

1 Answer 1

18

Thanks for reporting! I fixed this issue - it was due to a refactoring error in a switch statement determining how we were creating the URL for the Achievements tab. Those dang fall-throughs... Anyway, it's no longer a relative URL so this should work just fine - please let me know if you're still seeing any issues.

3
  • 10
    I've gone through the nine non-deleted duplicates of this question and posted comments on them indicating that it's been fixed. Commented Sep 5, 2023 at 17:12
  • 5
    @SonictheAnonymousHedgehog oh geez, thank you so much for doing that!
    – kristinalustig StaffMod
    Commented Sep 5, 2023 at 17:38
  • 3
    FYI: I've quoted your answer here over on Meta Ask Ubuntu where this was also reported via a Community Wiki answer
    – cocomac
    Commented Sep 5, 2023 at 18:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .