Friday, November 7, 2014

Internet Explorer and the infamous underscore.

Internet Explorer and the infamous underscore
 .... Say what?

There is a little easter egg, though some may not think it's so innocent, in the ever wonderful web browser Internet Explorer.  That is, if you are a web dev and run a domain name, you'd best not put a underscore "_" in it!  No kidding Jack!  IE will ignore cookies for the domain!  Apparently it is not RFC-Compliant.  And now you know ;-)

RFC 2821
To promote interoperability and consistent with long-standing
guidance about conservative use of the DNS in naming and applications
(e.g., see section 2.3.1 of the base DNS document, RFC1035 [22]),
characters outside the set of alphas, digits, and hyphen MUST NOT
appear in domain name labels for SMTP clients or servers. In
particular, the underscore character is not permitted. SMTP servers
that receive a command in which invalid character codes have been
employed, and for which there are no other reasons for rejection,
MUST reject that command with a 501 response.

Totem Plugin Blues

So with the advent of HTML 5 comes change and sometimes those changes affect us negatively. The ever so popular plugin for the Linux video player Totem was dropped earlier this year because Chrome and other major web browsers were dropping support of an older API known as NPAPI. This led to some breakage in the web dev world and other nuances for ordinary users.

For me, I saw the affect in my home made TV tuner system.  Where before I could stream live TV through my Chrome browser via the Totem browser, was no more.  This led to me digging around and finding out why.

But Totem will still play the streams, just not embedded in the web  browser.  <URL>:<PORT>/stream

For example I use hdhomerun and their web frontend normally would launch the embedded javascript Totem plugin. Instead I have to point Totem to the actual URL which looks like this: http://192.168.0.1:5004/auto/v5 Where V5 is channel 5