Re: "Resend email" gave me a "does not exist" message - Mailing list pgsql-www

From Justin Pryzby
Subject Re: "Resend email" gave me a "does not exist" message
Date
Msg-id 20200101183444.GY12890@telsasoft.com
Whole thread Raw
In response to Re: "Resend email" gave me a "does not exist" message  (Magnus Hagander <magnus@hagander.net>)
Responses Re: "Resend email" gave me a "does not exist" message  (Justin Pryzby <pryzby@telsasoft.com>)
Re: "Resend email" gave me a "does not exist" message  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-www
On Wed, Oct 23, 2019 at 03:31:16PM +0200, Magnus Hagander wrote:
> On Mon, Oct 14, 2019 at 1:08 AM Justin Pryzby <pryzby@telsasoft.com> wrote:
> > On Sun, Oct 13, 2019 at 01:24:23PM -0500, Justin Pryzby wrote:
> > > Maybe (un)related, but I went to use the new "Resend email" button and
> > got a
> > > "does not exist" page.
> > >
> > > I tried again and it worked.
> > >
> > > Timestamp probably less than 5 minutes before:
> > > Sun Oct 13 13:23:54 CDT 2019
> > > Sun Oct 13 18:23:56 UTC 2019
> > >
> > >
> >
https://www.postgresql.org/message-id/resend/CA%2BHiwqEtw99mUnPv6Z0eSZosmXMzibOCD2qjAk9GESNzeBd22A%40mail.gmail.com
> 
> This one somehow seems related to the + sign in the URL (encoded as %2B). I
> managed to reprodce your problem once and ended up with a space in the
> middle of the URL (which is a typical case of missing escape for it).
> 
> But I've been completely unable to reproduce it since :/
> 
> So there is a bug lurking there somewhere, but I'm not sure what it is. If
> it happens again, please try to re-trace your steps even closer, and in
> particular pay attention to if at some step a blank space shows up in the
> URL bar!

I hit this again shortly before:
Wed Jan  1 18:29:48 UTC 2020
while accessing:
https://www.postgresql.org/message-id/resend/CAMkU=1zBJNVo2DGYBgLJqpu8fyjCE_ys%20msr6pOEoiwA7y5jrA@mail.gmail.com
"Not Found - The requested page was not found."

The previous page in my history was:
https://www.postgresql.org/message-id/CAMkU%3D1zBJNVo2DGYBgLJqpu8fyjCE_ys%2Bmsr6pOEoiwA7y5jrA%40mail.gmail.com

So I guess the issue is with %3D (=).

And for no apparent reason, when I go "Back" and reclick "Resend email", then
it works, now with URL:
https://www.postgresql.org/message-id/resend/CAMkU%3D1zBJNVo2DGYBgLJqpu8fyjCE_ys%2Bmsr6pOEoiwA7y5jrA%40mail.gmail.com



pgsql-www by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: The state of the website survey
Next
From: Tom Lane
Date:
Subject: Bogus bounces from paul@paulweiss.info