Welcome to Geeklog, Anonymous Saturday, April 20 2024 @ 11:40 am EDT

Geeklog Forums

Story Bug?


Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
I am running 1.3.11sr5 and noticed a problem. I have a story titled "Trash Update #2". I had several users leave comments about this story but when I tried to reply to their comment I was rediected to the site home page. I could however leave a new comment. In order to be able to reply to a existing comment I had to edit the story removing the "#'" (number sign) and manually edit gl_comments to remove the number sign from title field.

 Quote

Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
Well, it is not a problem in 1.4.0sr2 so I guess nothing will be done about it.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The #-sign is used for anchors, so it should be escaped/url-encoded when used as part of a URL.

Haven't had a chance to check what Geeklog actually does (or did) with those ...

bye, Dirk
 Quote

Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
I found the same type of problem with Polls except instead of a # sign it crapped out on $ sign.
 Quote

Status: Banned

gtgillis

Forum User
Full Member
Registered: 11/05/03
Posts: 121
After more testing I found that if I create a poll question with the question:


http://www.rudebastard.com/bugs/bug-1.jpg

It is stored in gl_pollquestions like this:

http://www.rudebastard.com/bugs/bug-2.jpg

If I create a reply the title of the reply is displayed like:

http://www.rudebastard.com/bugs/bug-3.jpg

In the gl_comments table this is what is stored in the title field:

http://www.rudebastard.com/bugs/bug-3.jpg

You can see an example at http://www.oakwoodglen.net/pollbooth.php?qid=Test4&aid=-1

If you try to click "reply to this" to reply to the existing comment you will see that the URL is not good.

Please note that I tried using the "Img" tag in this message but it would not work.

 Quote

All times are EDT. The time is now 11:40 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content