Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

This is a very tricky bug to find but, well, it exists! If you click login while viewing a question, it will store the URL of the question you were just at. It also strips /submit, which is probably part of important functionality. However, it causes errors if /submit is a valid part of the URL.

Consider If you were logged out at the time, and then hit "login", you would end up at the following page:

Note the error on the return URL: it's become The removal of the slash results in a broken return URL.

Due to the nature of the bug, I have no idea whether or not it can be fixed, but no sense in not reporting it.

Reproduced in both Chrome and Firefox by a tag team effort by Shog9 and I. Extra thanks to user Thomas for initially bringing this to our attention.

share|improve this question
up vote 4 down vote accepted

We'll be smarter about when we strip /submit starting in the next build.

Should fix this issue.

share|improve this answer

You must log in to answer this question.

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