Re: "Resend email" gave me a "does not exist" message

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: "Resend email" gave me a "does not exist" message
Date: 2020-04-14 16:00:50
Message-ID: CABUevEzvX1JWpDSd4k3igf13--6KdYrbPcNjnQFkZJTTOgMk+w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Hah!

Finally I manage to find something that I could reproduce locally.

Seems to be a layer-of-layers-of-unquoting. It would also only happen when
you were at a certain stage of the login levels between the two set of
sessions.

I've pushed what I think is a fix for this. Let's hope it doesn't break
something else in return, but this particular URL now works for me, which
it did not before!

Thanks for your patience!

//Magnus

On Mon, Apr 13, 2020 at 7:48 PM Justin Pryzby <pryzby(at)telsasoft(dot)com> wrote:

> I didn't see response from last few mails about this.
> So it happened again.
> Shortly before: Mon Apr 13 17:45:26 UTC 2020
> I'm at:
> https://www.postgresql.org/message-id/resend/CA%20TgmoY%20ua-BgTNxr0Mr7FeD9uXcNwgjky1wzHzjLtWONWFRrg(at)mail(dot)gmail(dot)com
> => Not Found The requested page was not found.
>
> Actually, the URL says this:
> https://www.postgresql.org/message-id/resend/CA TgmoY
> ua-BgTNxr0Mr7FeD9uXcNwgjky1wzHzjLtWONWFRrg(at)mail(dot)gmail(dot)com
> ..but if I copy it using ctrl+C, then it gets encoded...
>
> Previously at:
> https://www.postgresql.org/message-id/CA%2BTgmoY%2Bua-BgTNxr0Mr7FeD9uXcNwgjky1wzHzjLtWONWFRrg%40mail.gmail.com
>
> Which I got to by opening a new tab (control+clicking) from:
> https://www.postgresql.org/list/pgsql-hackers/since/202004120000/
>
> On Sun, Mar 15, 2020 at 10:29:11PM -0500, Justin Pryzby wrote:
> > I got another of these shortly before: Sun Mar 15 22:24:54 CDT 2020 (Mon
> Mar 16 03:24:54 UTC 2020)
> >
> https://www.postgresql.org/message-id/resend/CAOBaU_Z6WcT8FJfcCMU_Bp%20PTzUpTEY9BfBQE4gbGKpE5wpfwQ(at)mail(dot)gmail(dot)com
> > => Not Found The requested page was not found.
> >
> > Going "Back", I'm at:
> >
> https://www.postgresql.org/message-id/CAOBaU_Z6WcT8FJfcCMU_Bp%2BPTzUpTEY9BfBQE4gbGKpE5wpfwQ%40mail.gmail.com
> > back again, I get to:
> >
> https://www.postgresql.org/message-id/20200118025102.GB230692%40paquier.xyz
> >
> > Looks like before that, I was at a firefox tab at:
> > https://www.postgresql.org/list/pgsql-hackers/since/202001180000/
> > ..and I used "control+click" to open new tab.
> >
> > Also, I'm copying a previous message to which I didn't see a reponse.
> >
> > On Wed, Jan 01, 2020 at 12:34:44PM -0600, Justin Pryzby wrote:
> > > 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(at)telsasoft(dot)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(at)mail(dot)gmail(dot)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
>
> --
> Justin Pryzby
> System Administrator
> Telsasoft
> +1-952-707-8581
>

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Jonathan S. Katz 2020-04-14 20:46:51 Re: Weird table alignment override in website docs style
Previous Message Justin Pryzby 2020-04-13 17:48:52 Re: "Resend email" gave me a "does not exist" message