🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes
Article #62

Re: Rocksolid Light thread pages send me to wrong threads

#62
From: Retro Guy Retro Guy
Date: Fri, 30 Aug 2019 03:19
82 lines
4155 bytes
Retro Guy wrote:

> 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?).
>> > >> 

>> > >> 
>> > >> 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

I'm testing in a local group. Just found that reply didn't work for the 
same reason (in groups containing '+'), and have fixed that. Just trying 
each step to see what needs to be fixed. I'm sure I'll miss something :)

Retro Guy
-- 
Posted on Rocksolid Light
Technical Details
Message-ID: <8f452cf5f0529330b374ed24a6cc7e7e$1@news.novabbs.com>
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!i2pn.org!rocksolid2!.POSTED.localhost!not-for-mail
References: <7f95a309cc56e1a8f0d8fe367cf0e445$1@rslight.i2p> <20190829151453.424b3f6f@desktop14.dt> <cd49f2110f72c9318f4b2b45e74b2b7c$1@rslight.i2p> <20190829183016.20ef324c@desktop14.dt> <20190829194521.0c986070@desktop14.dt>

Show Full Headers
Complete Article Headers
Message-ID: <8f452cf5f0529330b374ed24a6cc7e7e$1@news.novabbs.com>
Subject: Re: Rocksolid Light thread pages send me to wrong threads
Date: Fri, 30 Aug 2019 03:19:24 +0000
From: Retro Guy@rslight.i2p (Retro Guy)
References: <7f95a309cc56e1a8f0d8fe367cf0e445$1@rslight.i2p> <20190829151453.424b3f6f@desktop14.dt> <cd49f2110f72c9318f4b2b45e74b2b7c$1@rslight.i2p> <20190829183016.20ef324c@desktop14.dt> <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!i2pn.org!rocksolid2!.POSTED.localhost!not-for-mail
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 30 Aug 2019 03:19:24 -0000 (UTC)
Injection-Info: novabbs.com; posting-account="retrobbs1"; posting-host="localhost:127.0.0.1";
 logging-data="29358"; mail-complaints-to="usenet@novabbs.com"
User-Agent: rslight (http://news.novabbs.com)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$oaOl/6R53TV1xM6CH9F0O.eDX7z8XiyYbv2QrqrjRusku7JxiKrc6