15

I tried to leave the following comment on a question:

It still won't work, as you have v= algorithm(M,C,S,N), but no S defined. Again: please make sure to read [mcve] in full, to make sure you have an example which produces your issue, but otherwise works. For advice on how to ask questions on SO, I can recommend this article by SO's top user.

However, I get the following:

screenshot

With as console message:

Console error: Failed to load resource: the server responded with a status of 400 ()

I am on Ubuntu 19.04 disco, and Firefox 68.0.2 (64-bit)

Inspecting the error message further shows what causes the comment to be disallowed:

Comments cannot contain that content.Please avoid using URL shorteners; they can break without leaving any useful artifact and are often used to obscure spam or malicious links.please replace the short URL noted above with the URL it redirects to!For details, see Blacklist the use of common link shorteners in posts

Meaning that we cannot link to Jon's article with the shortener apparently.

2

2 Answers 2

8

As double-beep and Inquisitive Lurker have noted, the root cause here was an overflow:hidden style on the post container. This has now been removed; thanks for reporting this!

More info:

15

The error message is actually not empty, and contains the error about URL shorteners as you mentioned.

The problem here is that SE added recently overflow: hidden to the post layout (.post-layout). This has apparently broken too many things and I am not sure why it was added, since I haven't seen how it (positively) affects something.

If you want to see the whole error message and make a test to prove that overflow: hidden is responsible for this, when you get the error, type in the console:

$('.post-layout').css('overflow', 'visible')

which shows:

5
  • 1
    If anyone sees a positive/intended affect from adding overflow: hidden to .post-layout, I'd appreciate it being pointed out. I had already disabled it in my personal CSS changes, due to its effects on yet other changes, but if it actually does something productive, I will want to look at other ways to solve the issues I've encountered.
    – Makyen Mod
    Aug 30, 2019 at 15:15
  • @Makyen Blocking Zalgo text?
    – S.S. Anne
    Sep 1, 2019 at 22:03
  • @JL2210 Possible, but if that was the goal, it would be more appropriate to use overflow: hidden on the individual areas which contain text provided by users, which would also lessen the impact of the Zalgo text on users other than the one who used it.
    – Makyen Mod
    Sep 1, 2019 at 22:20
  • So on comment boxes and titles and questions and usernames? Wouldn't that still hide overflow from error boxes?
    – S.S. Anne
    Sep 1, 2019 at 22:22
  • @JL2210 overflow: hidden already exists on .comment-body. In testing, it looks like it works well on the other user generated content. It might need some refining in order to allow questions about Zalgo a bit more leeway, but it looks better to me than allowing the content to disrupt the rest of the page. It's certainly better than trying to limit such by using overflow: hidden on an element that's further up the DOM under which SE normally places content they want to be displayed outside of it (without doing what's needed to make it display).
    – Makyen Mod
    Sep 2, 2019 at 20:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .