[Bug] Randomly getting posts and comments snipped
Keep getting snipped, explained via attachments. Can't attach, explained via embeds.
What's being retained: http://i.imgur.com/RrJ1IZU.jpg
What's being submitted: http://i.imgur.com/xyOI3sz.jpg
Keep getting snipped, explained via attachments. Can't attach, explained via embeds.
What's being retained: http://i.imgur.com/RrJ1IZU.jpg
What's being submitted: http://i.imgur.com/xyOI3sz.jpg
Hey there,
Sorry about this, it is our security filter to prevent XSS being a bit overzealous. Any time you put a less-than symbol with text immediately after it, it will get snipped. We will fix this, to be a lot smarter, but in the mean time you should do this:
Bad: <30
Good: < 30
Or you can write < in your posts instead of <, but that is a bit much to ask.
holy crap how did I not notice it was all after the less than symbol! Thank you Alice, I will keep that in mind. ^_^
Doesn't markdown have XSS filter integrated in itself?
A Markdown parser might (ours did not by default), but we are still storing whatever players send to us. We want to try to prevent XSS at post creation/editing time, to ensure we are not storing malicious stuff whenever possible.
There are libraries for cleaning code of malicious HTML. By default, markdown allows some HTML, such as <b> which is harmless and useful. Regular expressions aren't a good solution :P
Seems to be unique to you. I've been fine on long posts. Try clearing cookies/cache, using a different browser?
Yes and different comp, although haven't tested within last 2 hours. One moment.
Seems to be fine now. Black magic is afoot. Or random variables within the millions of factors between connections, servers, local and cloud software, packets and traffic. But I'm just going to say black magic. Nope, nope, it's back. God damnit
Hey, just a very technical note: aren't you, by any chance, using toutchpad? It causes me to delete huge part of my post while writing ocassionally.
Funny you mention it actually it seems to happen only on my tablet convertible (engineering school forces us to get them >_
Please try to explain more how it happens. I'm not Rioter and I can't get it fixed, but as board developpers do not fix things very often, I've developped some skill in making hacks and workarounds.
Specifically, this is what I need:
Also, some general system information could be eventually helpful:
How and when does it occur? When typping? What does mean 'retained' and 'submitted' in your post?
Simply type everything out, submit and it posts only the first 60 or so words. When I go back to edit pic 1 shows up.
Does it happen when replying, posting thread or editing?
All of the above.
What browser are you using and on what system? Is there anything interesting about your environment?
Chrome, latest update. On campus, so heavy traffic on wireless.
Are there any userscripts/userstyles affecting how the page is running?
FEK 3.0 (Tampermonkey included), Stylish, Adblock, QR Code translator, Avast
Do you have performance problens on the site?
None moreso than usual
Are there any errors in your console? (Ctrl+Shift+i)
None that I have seen