This isn't, surprisingly, another double-encoding bug - it's a not-enough-encoding bug. The Data Explorer doesn't like the question Do I really need to encode '&' as ' &'?.

Question title screenshot:

Question, containing "&" in title

Data Explorer results:

Data Explorer rendering it as "&"

Additional testing has revealed that jQuery: how to add <li> in an existing <ul>? and How do I translate a &#174; into Silverlight Text Represenation have their titles encoded properly - so it's just &amp; that trips it up. What gives?

Edit: This very question is a useful test case.

  • 2
    The space in that question title bothers me. – Richard J. Ross III Aug 7 '13 at 5:15
  • 1
    Is this a security vuln? – Cole Johnson Aug 30 '13 at 1:53
  • 1
    @ColeJohnson No. – Tim Stone Aug 30 '13 at 3:06
  • @TimStone darn. – Cole Johnson Aug 30 '13 at 3:17
  • @Ben nothing was done, the Data Explorer revision is "rev 2013.8.7.10" and the bug still exists. Why status-completed? – Shadow Wizard is Ear For You Sep 10 '13 at 7:15
  • @ShaWizDowArd Maybe the pull request got "dispositioned", and it's just caching or something biting again. (I don't know what half this version-control jargon means.) – michaelb958--GoFundMonica Sep 10 '13 at 12:45
  • @ShaWizDowArd: the pull request was accepted, and that's why I marked it completed. SEDE just hasn't been built in about a month. I'll get it built out today. – Ben Collins Sep 10 '13 at 16:01
  • @Ben thought those two actions are intertwined somehow, anyway last time it took over a year for SEDE to be built, lol! – Shadow Wizard is Ear For You Sep 10 '13 at 16:11

I think this was meant to be a feature so that the already-escaped entities in post body contents would be displayed as they were originally written, but since that field shows you the rendered HTML otherwise I'm not sure that that makes much sense.

I've gone ahead and submitted a pull request that's less picky about which ampersands it encodes as &amp;, so this should be fixed in the next deploy after that change is pulled.

|improve this answer|||||

You must log in to answer this question.

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