Possible commenting/rating bug?

Actingup

Mostly Harmless
Joined
Feb 12, 2018
Posts
2,338
Hi all, I published a brief Nude Day story today, and I've had a couple of kind readers report to me that they couldn't rate it or comment. One of them was later successful, but the other one wasn't. Has anybody else had this?

(The story is here - but this is not meant to be a sneaky story promotion thread - I'm interested if anybody has had this happen with one of your stories today)
 
Oddly, the italics html from your afterword seems to have carried to all the text below it... site generated and user comments. That's really weird.

As for the original bug, comments and votes can be turned off by the user. Perhaps that toggle had been accidentally activated? Definitely seems to have been corrected, though.
 
Oddly, the italics html from your afterword seems to have carried to all the text below it... site generated and user comments. That's really weird.

As for the original bug, comments and votes can be turned off by the user. Perhaps that toggle had been accidentally activated? Definitely seems to have been corrected, though.
That is weird. Everything after the story, including button text, is italicized. The formatting at the bottom of the page is screwed up, too, with all the text jammed into a narrow column on the left side of the page.

@Manu! Calling Manu!

@Actingup, did you include any HTML in your story other than italics tags? Or did you upload a formatted file (RTF/DOCX/ODT)?

OK, I looked at the source. Why is the page littered with random close anchor tags ("/a")? And why does the Afterword appear to have five open-italics tags (em) but only one close-italics tag (/em)?

It's very possible I'm reading it wrong.
 
"This part of the site requires ********** to work, sorry!"
"Your message can't be empty."

I see the first one when I hover over any of the rating stars and the second one when I hover over the button to post my comment, whether the field is empty or not.

In regards to the unending italics, it looks like you put a new <em> right before your </em>, so it closed out the second one rather than the first. There's an extra </a> after that as well. I don't think either of those should break the page, but I don't have a clue what else might have.

<p data-hk="000000000010000000100002000000300010001600007640101100a55" style=""><em> My grateful thanks once again to <a href="https://www.literotica.com/authors/Nynah/works/stories" target="_blank">Nynah</a> and to <a href="https://www.literotica.com/authors/PennyThompson/works/stories" target="_blank">PennyThompson</a> for their beta-reading comments and suggestions. For <b>some</b> of Penny's ideas, I decided to leave them on the shelf for her to try out herself later, once the USA has started making some decent chocolate.<em></em></a></p>

EDIT: Apparently, you can't say J a v a S c r i p t in the forums. That is what lies hidden behind the asterisks.
 
Last edited:
"This part of the site requires ********** to work, sorry!"
"Your message can't be empty."

I see the first one when I hover over any of the rating stars and the second one when I hover over the button to post my comment, whether the field is empty or not.

In regards to the unending italics, it looks like you put a new <em> right before your </em>, so it closed out the second one rather than the first. There's an extra </a> after that as well. I don't think either of those should break the page, but I don't have a clue what else might have.

<p data-hk="000000000010000000100002000000300010001600007640101100a55" style=""><em> My grateful thanks once again to <a href="https://www.literotica.com/authors/Nynah/works/stories" target="_blank">Nynah</a> and to <a href="https://www.literotica.com/authors/PennyThompson/works/stories" target="_blank">PennyThompson</a> for their beta-reading comments and suggestions. For <b>some</b> of Penny's ideas, I decided to leave them on the shelf for her to try out herself later, once the USA has started making some decent chocolate.<em></em></a></p>
Should you wish to add a comment, the link "Add New Comment" still works as intended, and it resets the page enough to allow voting as well. Something about the Borg italics apparently makes certain functions futile, which I didn't notice the first time since I didn't hover over the entry form fields.

As a hypothetical aside, this bug might be weaponizable for those people who would rather only get votes from people who leave comments! :LOL: (Not really, since they don't actually have to add a comment after clicking it to open the text field, but it's still kind of amusing.)

Edit: I put those instructions as a comment on the story, in case my comment gets approved before L&M can fix the issue. Although they might see the comment during moderation and realize there's chicanery afoot, fix it, and send my instructions into the void.
 
Looks like another bug to add on the list, and another bug to sweep under the rug. My opinion and YMMV
 
Oddly, the italics html from your afterword seems to have carried to all the text below it... site generated and user comments. That's really weird.

As for the original bug, comments and votes can be turned off by the user. Perhaps that toggle had been accidentally activated? Definitely seems to have been corrected, though.
You’re right - how interesting. I wonder if an html issue could result in the bug.
Looks like another bug to add on the list, and another bug to sweep under the rug. My opinion and YMMV
From what we know, it’s more my fault for not checking the HTML. I use a script with tag conversions for bold / italic etc, and usually only clean the results up if there’s an issue that’s obvious in preview. Clearly this one was a bit too sloppy.
 
You’re right - how interesting. I wonder if an html issue could result in the bug.

From what we know, it’s more my fault for not checking the HTML. I use a script with tag conversions for bold / italic etc, and usually only clean the results up if there’s an issue that’s obvious in preview. Clearly this one was a bit too sloppy.


Then why make a post calling it a possible bug?
 
That is weird. Everything after the story, including button text, is italicized. The formatting at the bottom of the page is screwed up, too, with all the text jammed into a narrow column on the left side of the page.

@Manu! Calling Manu!

@Actingup, did you include any HTML in your story other than italics tags? Or did you upload a formatted file (RTF/DOCX/ODT)?

OK, I looked at the source. Why is the page littered with random close anchor tags ("/a")? And why does the Afterword appear to have five open-italics tags (em) but only one close-italics tag (/em)?

It's very possible I'm reading it wrong.
It seems likely that I could fix this with a story correction (although that is a slow process). Thanks for looking at the code - definitely an issue there.
 
OK, I looked at the source. Why is the page littered with random close anchor tags ("/a")
That is an artifact of the page generator script. Coded to slap stuff together. Par for the course, I'd say.

Much more interesting is why the story content appears twice. Once as crappy HTML, and again as the content of a JSON text field. (look for 'pageText:').
 
Fair enough, but I think errors like that should be caught at intake, i.e. before any kind of workflow processing is done. There are HTML checkers out there. Not checking for sane HTML is a process failure.
There really should be the HTML/********** version of Lint on there somewhere, shouldn't there?

I'm a very out-of-practice and mediocre coder, but I could write something to make sure open and close tags pair up correctly.
 
Congratulations, OP, you managed to sneak in broken HTML in your submission. Decorate yourself with your first hacker badge:

1783059547466.png

You can another when you upgrade your exploit to include a SQL injection!

1783059510509.png
 
Congratulations, OP, you managed to sneak in broken HTML in your submission. Decorate yourself with your first hacker badge:

View attachment 2645130

You can another when you upgrade your exploit to include a SQL injection!

View attachment 2645129
That could spawn a whole new, risk-filled site subculture - the Lit expression of an impregnation fetish in coding. Not for me I think :)

(By the way if anybody has any comments on the story, feel free - I shouldn’t be too discouraging).
 
Back
Top