Re: [pgsql-www] Excessive # usage in URLs

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-www(at)postgresql(dot)org" <pgsql-www(at)postgresql(dot)org>
Subject: Re: [pgsql-www] Excessive # usage in URLs
Date: 2018-06-20 15:44:22
Message-ID: 20180620154422.GA32762@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Wed, Jun 20, 2018 at 10:57:10AM -0400, Stephen Frost wrote:
> Greetings,
>
> * Magnus Hagander (magnus(at)hagander(dot)net) wrote:
> > On Fri, Oct 23, 2015 at 5:28 PM, Magnus Hagander <magnus(at)hagander(dot)net>
> > wrote:
> > > In fact, we could have a <a name> for each of those two, so that one could
> > > still use the other one if building URLs elsewhere, but the ones generated
> > > in the archives could use the shorter id. That's a number that goes up to
> > > max 6 digits at this point (and that would actually be guaranteed to be
> > > stable in the future, unlike just using the sequential)
> >
> > So, do I win anything for best zombie thread back from the dead today?
>
> I think you do.
>
> > It's only been a few years, so I've now actually done this in the shape of
> > two tiny commits and I think totaling 11 lines :)
> >
> > Basically, now:
> > * If you navigate to the first message in a thread, no redirect at all is
> > done
>
> Woooo!!!!
>
> > * If you navigate to another message, there is a redirect to the # url but
> > using the md5 of the messageid keeping a lot shorter than your average
> > gmail messageid
>
> Yay.

Yes, those URLs were getting very long to post in emails.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Alexander Korotkov 2018-06-21 12:56:10 Re: Postgres 11 release notes
Previous Message Stephen Frost 2018-06-20 14:57:10 Re: [pgsql-www] Excessive # usage in URLs