HTML/URL parsing differs between comics and profiles

Is something wonky on the site? Describe the problem to us, and we'll fix it ASAP.
Forum rules
Bug Reporting Guidelines

Before Posting
Please make sure someone hasn't already reported the problem you're experiencing before creating a new topic. Confirmed issues have been stickied in this forum.

Rules

    1) Use a descriptive title when starting a bug topic. Example: "Comic images not showing up" Do not use vague titles like, "problem" or "uh ohh"

    2) Describe your problem in detail. Explain exactly what is wrong. Post images, screen shots, links, code snippets - whatever is relevant. The better the information you provide, the better the solution you will receive.

    3) Be polite and patient. We fix these issues as fast as we can. Please be patient with us as we work toward a solution.

HTML/URL parsing differs between comics and profiles

Postby eishiya » February 17th, 2018, 9:14 am

I've noticed two discrepancies in how HTML within comments is parsed between profiles and comic sites.

First, a minor one:
<s> is parsed on comic sites, but not in profiles.

Second, a pretty major one:
In comic sites, a smaller subset of HTML is parsed for reader comments than author comments. Readers just get access to some basic styling, which is perfect, since they generally don't need anything else unless they're spammers or otherwise malicious. However, it seems that for profiles, <a> is parsed even for Readers. This is a problem because it's inconsistent with comic sites, and because it allows spammers to fill up comic profiles and their own profiles with spammy links.

In addition, bare URLs are converted to clickable links for all users, including readers, on comic sites, but not profiles. I think bare links should only be converted in author comments everywhere, and not converted for readers anywhere. Or, if the convenience of clickable links outweighs fears of spam, then make links in reader comments have nofollow, while links in author comments are normal.

Also, this means that <a> and URL parsing for reader comments is basically backwards between profiles and comics :D
Image
Image
User avatar
eishiya
 
Posts: 9454
Joined: December 5th, 2009, 11:17 am

Return to Bugs & Glitches

Who is online

Users browsing this forum: No registered users and 1 guest