-Поиск по дневнику

Поиск сообщений в rss_thedaily_wtf

 -Подписка по e-mail

 

 -Постоянные читатели

 -Статистика

Статистика LiveInternet.ru: показано количество хитов и посетителей
Создан: 06.04.2008
Записей:
Комментариев:
Написано: 0


CodeSOD: An Emailed Condition

Понедельник, 21 Августа 2017 г. 13:30 + в цитатник

For a change of pace, the code in this CodeSOD isnt the real WTF. Our Anonymous submitter works for a company that handles meeting scheduling for corporate customers. This entails shipping off loads of HTML-emails, and that means using a relatively terrible WYSIWYG editor that generates code like this:

Meals

All breakfasts and lunches will be served in Food Capital on the ground floor of the hotel.

We look forward to hosting you for the following dinners:

Yes, awful, but no worse than any other WYSIWYG email editor, right? Well, take a look at this particular sample:

Dietary Requirements: */field1/*

This particular block came to our submitters attention when they received a report that it was crashing computers. This was surprising, in part because after rigorous and thorough testing, our submitter couldnt replicate the error.

That is, until they followed up and asked the important question: What email client are you using?

Outlook, came the reply.

Obviously, theyd already tried to replicate the error in Outlook. Which version?

2007. Why, does that matter?

As it turns out, the decade old email client really doesnt like conditional comments- things like the . In fact, it hates them so much, it was crashing the users computers.

[Advertisement] Infrastructure as Code built from the start with first-class Windows functionality and an intuitive, visual user interface. Download Otter today!

https://thedailywtf.com/articles/an-emailed-condition

Метки:  

 

Добавить комментарий:
Текст комментария: смайлики

Проверка орфографии: (найти ошибки)

Прикрепить картинку:

 Переводить URL в ссылку
 Подписаться на комментарии
 Подписать картинку