In the "subscribe by email" section (right column), click on "all new questions".
Submit the form without filling anything out. You'll get an error.
On that page, in the "subscribe by email" section, click on "all new questions" again and this time provide a frequency.
404 (and the subscription is saved).
I suspect that we are redirecting back to where you were before you clicked on the form -- which is usually correct, but in this case you were on an error page (/subscriptions/new), which you only reach via the form. (If you go there manually it's a 404.)
It would be better to detect that the "return to" page isn't valid and fall back to a page that works. We probably don't know where the person was two steps ago (before getting the error), but the community's landing page or the user's subscriptions list would both be better than a 404.
meta:290808
Steps to reproduce:
I suspect that we are redirecting back to where you were before you clicked on the form -- which is usually correct, but in this case you were on an error page (
/subscriptions/new
), which you only reach via the form. (If you go there manually it's a 404.)It would be better to detect that the "return to" page isn't valid and fall back to a page that works. We probably don't know where the person was two steps ago (before getting the error), but the community's landing page or the user's subscriptions list would both be better than a 404.