Subject: | http://twitter.com vs. https://twitter.com |
t/as_string.t started to fail lately. A sample fail report: http://www.cpantesters.org/cpan/report/033fe532-bff8-11e6-b1f4-a92f14f04b7f
I changed t/as_string.t to use like() instead of ok() in the failing test, and the diagnostics says now:
not ok 8
# Failed test at t/as_string.t line 22.
# ' <script type="text/javascript">
# var t = document.createElement('SCRIPT'), t1 = document.getElementsByTagName('HEAD')[0];
# t.type = 'text/javascript';
# t.async = true;
# t.src = "http://platform.twitter.com/widgets.js";
# t1.parentNode.insertBefore(t, t1);
# </script>
# <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="
# example">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>'
# doesn't match '(?^:https:..twitter.com)'
So it looks that https://twitter.com does not appear anymore in the string, only the http pendant.