🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes
Article #61

Re: Rocksolid Light thread pages send me to wrong threads

#61
From: Retro Guy
Date: Fri, 30 Aug 2019 02:45
90 lines
4201 bytes
On Thu, 29 Aug 2019 18:30:16 -0700
Retro Guy <retro_guy@retrobbs.rocksolidbbs.com> wrote:

> On Thu, 29 Aug 2019 23:58:02 -0000 (UTC)
> Mei@rslight.i2p (Mei) wrote:
> 
> > Retro Guy wrote:
> > 
> > > On Thu, 29 Aug 2019 13:58:51 -0000 (UTC)
> > > Mei@rslight.i2p (Mei) wrote:
> > 
> > >> Sometimes when I click the "2" to get to a thread's second page I
> > >> end up in a different thread, sometimes one that seems broken
> > >> (maybe I'm at the second page of a one-page thread?).
> > >> 
> > >> For example, I'm at 
> > >> 
> > http://rslight.i2p/index.php?content=%2Fcompprog%2Farticle-flat.php%3Fid%3D5730%26group%3Dcomp.lang.c%252B%252B
> > >> 'comp.lang.c++ / 
> > >> 
> > &quot;“Rust_is_the_future_of_systems_programming,_C_is_the_new_Assembly”:_Intel_principal_engineer,_Josh_Triplett&quot;'
> > >> 
> > >> "2" links to 
> > >> 
> > http://rslight.i2p/compprog/article-flat.php?group=comp.lang.c++&id=5730&first=11&last=20
> > >> 
> > >> Clicking this dumps me in "comp.lang.c / Re: Abstract Syntax Tree
> > >> for C programs" with:
> > >> 
> > >> Date 	Subject	Author
> > >> 01 Jan 	o 
> > >> 
> > >> Nothing here? I hope I didn't turn over so many rocks they're not
> > >> solid any more D:
> > 
> > > Interesting. I think I see what the problem may be. Is it only
> > > comp.lang.c++?
> > 
> > > If so, the group name itself may be the problem (with the ++).
> > > I'll test more with other groups later (I'm off for a while now)
> > > to see, but maybe it's the problem.
> > 
> > > Now, how to fix that?
> > 
> > > Thanks for giving an example also!
> > 
> > > Retro Guy
> > 
> > Hmm, there's a copy of it in comp.lang.c and the second page of that
> > one works. . Not so for "comp.lang.c++ / Weird use of maps." 
> > http://rslight.i2p/compprog/article-flat.php?id=5719&group=comp.lang.c%2B%2B
> > The ID in the URL doesn't seem to matter, but I can get a "merry 
> > christmas" post on the same otherwise broken page if I change the
> > %252Bs to %2Bs. That's fun :P I don't see any other groups having
> > this problem. RSLight gets angry if I prod it too much, though, so
> > I'll leave it at that.
> > 
> > Interesting! I get
> > "No permission to read!
> > rec.antiques.radio phono /"
> > For multi-page posts under rec.antiques.radio+phono
> > 
> > Maybe related? I'll let you dig through the PHP after this :P
> 
> It sure looks related (notice missing '+' in group name). Seems
> rslight isn't handling this properly. I'll take a look.
> 
> Retro Guy
> 

(continuing this thread in rocksolid.nodes)

It should be mostly fixed now. I still need to find instances where it
breaks, and will fix those as I find them.

It's all related to the '+' in the group name. When a url is generated
for a link, it is not encoded (urlencode changes '+' to space).
rawurlencode should work, but does not. I've written my own function to
handle this and it seems to be working fine.

I still need to test posting, and anywhere else a link is generated,
but for now it should be much better.

Thanks for the bug report!

Retro Guy
Technical Details
Message-ID: <20190829194521.0c986070@desktop14.dt>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
References: <7f95a309cc56e1a8f0d8fe367cf0e445$1@rslight.i2p> <20190829151453.424b3f6f@desktop14.dt> <cd49f2110f72c9318f4b2b45e74b2b7c$1@rslight.i2p> <20190829183016.20ef324c@desktop14.dt>

Show Full Headers
Complete Article Headers
Message-ID: <20190829194521.0c986070@desktop14.dt>
Subject: Re: Rocksolid Light thread pages send me to wrong threads
Date: Thu, 29 Aug 2019 19:45:21 -0700
From: Retro Guy <retro_guy@retrobbs.rocksolidbbs.com>
References: <7f95a309cc56e1a8f0d8fe367cf0e445$1@rslight.i2p> <20190829151453.424b3f6f@desktop14.dt> <cd49f2110f72c9318f4b2b45e74b2b7c$1@rslight.i2p> <20190829183016.20ef324c@desktop14.dt>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
Newsgroups: rocksolid.nodes
Organization: RetroBBS
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: i2pn2.org; posting-account="retrobbs1";
 logging-data="25914"; mail-complaints-to="usenet@i2pn2.org"
X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)