eric page 4 - Dave's Blog

Search
My timeline on Mastodon

Eric with Alex

2011 Dec 31, 11:28

PermalinkComments

(via TV: Great Job, Internet!: Amy Poehler accepts award, key to...

2011 Nov 29, 12:45


(via TV: Great Job, Internet!: Amy Poehler accepts award, key to America’s heart)

PermalinkCommentshumor video amy-poehler

URI Empty Path Segments Matter

2011 Nov 23, 11:00

Shortly after joining the Internet Explorer team I got a bug from a PM on a popular Microsoft web server product that I'll leave unnamed (from now on UWS). The bug said that IE was handling empty path segments incorrectly by not removing them before resolving dotted path segments. For example UWS would do the following:

A.1. http://example.com/a/b//../
A.2. http://example.com/a/b/../
A.3. http://example.com/a/
In step 1 they are given a URI with dotted path segment and an empty path segment. In step 2 they remove the empty path segment, and in step 3 they resolve the dotted path segment. Whereas, given the same initial URI, IE would do the following:
B.1. http://example.com/a/b//../
B.2. http://example.com/a/b/
IE simply resolves the dotted path segment against the empty path segment and removes them both. So, how did I resolve this bug? As "By Design" of course!

The URI RFC allows path segments of zero length and does not assign them any special meaning. So generic user agents that intend to work on the web must not treat an empty path segment any different from a path segment with some text in it. In the case above IE is doing the correct thing.

That's the case for generic user agents, however servers may decide that a URI with an empty path segment returns the same resource as a the same URI without that empty path segment. Essentially they can decide to ignore empty path segments. Both IIS and Apache work this way and thus return the same resource for the following URIs:

http://exmaple.com/foo//bar///baz
http://example.com/foo/bar/baz
The issue for UWS is that it removes empty path segments before resolving dotted path segments. It must follow normal URI procedure before applying its own additional rules for empty path segments. Not doing that means they end up violating URI equivalency rules: URIs (A.1) and (B.2) are equivalent but UWS will not return the same resource for them.
PermalinkCommentsuser agent url ie uri technical web browser

ShapeCatcher

2011 Nov 14, 12:37

Draw ShapeCatcher a symbol and ShapeCatcher shows you the characters in Unicode that look similar.  Try a smiley face.  (via Eric Lawrence)

PermalinkCommentstechnical unicode via:ericlaw

Eric Lawrence and Adam Barth on Strict-Transport-Security

2011 Aug 22, 9:27PermalinkCommentshttps http http-header technical strict-transport-security browser

A true American Patriot recites Bill Pullman’s Independence Day speech around New York City  | Great Job, Internet! | The A.V. Club

2011 Jul 6, 7:28"Over this past Fourth Of July weekend, we neglected to note that it was the 15th anniversary of Roland Emmerich’s 1996 blockbuster Independence Day. New York comedian Sean Kleier remembered, and decided to make his own tribute, going to various locations around New York City—Times Square, the Brooklyn Bridge, the subway, and inside a Victoria’s Secret—reciting Bill Pullman’s rousing speech before the movie's final battle sequence, megaphone and all."
PermalinkCommentshumor video bill-pullman independence-day new-york

Dare To Be Stupid | Vinyl Rewind on blip.tv

2011 Jul 1, 10:04Eric outs himself as a Weird Al fan covering Dare To Be Stupid and I get a mention.

On a related note, have you seen the Perform This Way video from Weird Al's latest album? It took me way too long to realize that wasn't Al's body. Performing this one live is going to make the Fat suit look like a cake walk.PermalinkCommentseric-callero weird-al memories history

Saudi Arabian King To Populace: 'Don't Even Think About It' | The Onion - America's Finest News Source

2011 Feb 23, 2:13'The king then widened his eyes, paused, and added, "No."'PermalinkCommentsnews humor egypt libya saudi-arabia onion

IE9 RC Minor Changes List - EricLaw's IEInternals - Site Home - MSDN Blogs

2011 Feb 11, 5:37PermalinkCommentsie9 development technical ie browser web eric-lawrence

New Device Desirable, Old Device Undesirable | The Onion - America's Finest News Source

2010 Dec 27, 2:38"I feel a strong urge to purchase the new device. Owning the new device will please me and improve my daily life."PermalinkCommentsnews humor onion

Never-before-seen footage of Eric Stoltz as Marty McFly in Back To The Future

2010 Oct 13, 3:11"To celebrate the 25th Anniversary of Back To The Future, we've got never-before-seen footage of original star Eric Stoltz as Marty McFly. Plus Robert Zemeckis, Steven Spielberg and Bob Gale all explaining why they replaced him with Michael J. Fox"PermalinkCommentsbacktothefuture bttf movie video eric-stoltz

C-SPAN Video Player - House Judiciary Subcmte. Hearing on Immigration and Farm Labor

2010 Sep 24, 8:38"Comedian Stephen Colbert joined the panel of witnesses at a House hearing on immigrant farm workers. Mr. Colbert has partnered with United Farm Workers and their campaign calling on unemployed Americans to take jobs in the agriculture sector. The organization's president, Arturo Rodriguez, also testified at the Judiciary Subcommittee on Immigration and Border Security hearing chaired by Rep. Zoe Lofgren (D-CA).
Washington, DC : 2 hr. 10 min."PermalinkCommentshumor video stephen-colbert politics immigration farm labor house

Google Launches 'The Google' For Older Adults | The Onion - America's Finest News Source

2010 Sep 8, 4:11Unfortunately it looks like TheGoogle.com is not available...PermalinkCommentshumor google search technical

Area Man Suddenly Realizes He's The One Who's Been Killing Off World's Bee Population | The Onion - America's Finest News Source

2010 Sep 8, 2:16'Following a news update on the depopulation of honeybees across North America and much of the world, it suddenly dawned on local bank teller Keith Orlander Tuesday that he, personally, was responsible for the dramatic and theretofore unexplained disappearance of the insects. "Boy, come to think of it, I guess I have been killing millions of bees lately,"'PermalinkCommentsbee bees humor onion

Caching Improvements in Internet Explorer 9 - IEBlog - Site Home - MSDN Blogs

2010 Jul 14, 3:32PermalinkCommentseric-lawrence http cache performance web browser ie ie9 technical

YouTube - 2010 Dodge Challenger "Freedom" 60-Second Commercial

2010 Jun 12, 2:40The American's succeeded with the revolution thanks to the 2010 Dodge Challenger. This makes me eager for Abraham Lincoln Vampire Hunter.PermalinkCommentsvideo humor via:jon america history george-washington car advertising dodge

Shepard Fairey - Interview Magazine

2010 May 10, 8:59Iggy Pop interviews Shepard Fairey, including his Obama HOPE poster and AP lawsuit:

"... but the American public is generally pretty superficial, so an image like that just allows them to project whatever limited idea they have onto it. Obviously, not everyone is like that—I actually think there were a lot of people who were bummed by the image because they felt it was shallow propaganda."

"If I spend time conceiving and making a piece of art and somebody else sees that it has market value and replicates it in order to steal part of my market, then that’s not cool. But the way I make art—the way a lot of people make art—is as an extension of language and communication, where references are incredibly important. It’s about making a work that is inspired by something preexisting but changes it to have a new value and meaning that doesn’t in any way take away from the original—and, in fact, might provide the original with a second life or a new audience."
PermalinkCommentsart legal law ip shepard-fairey obey interview

Code Standards | Isobar

2010 May 2, 3:14"This document contains normative guidelines for web applications built by the Interface Development practice of Isobar North America (previously Molecular)." Glad to see coding styles and best practices for HTML, CSS, JS, associated HTTP headers etc etc etcPermalinkCommentscode css html html5 javascript web browser programming development technical via:kris.kowal

EricLaw's IEInternals : HTTP/HTTPS Port-Blocking in WinINET

2010 Mar 26, 5:16Interesting point that web browsers block HTML FORMs from submitting to some ports in order to avoid malicious servers from getting clients to do their dirty work. Of course it requires the host on the other side of that port to be able to interpret the HTTP request as something relevant to the protocol they actually expect.PermalinkCommentssecurity web browser ie http html form technical

"Weird: The Al Yankovic Story" from Eric Appel, Aaron Paul, Olivia Wilde, Al Yankovic, Patton Oswalt, Paul Scheer, BRIAN HUSKEY, and christiansprenger - Video

2010 Mar 23, 12:02"Trailer for the upcoming Weird Al Yankovic biopic. This film is sure to sweep next year's Academy Awards."
PermalinkCommentshumor video weird-al parody trailer
Older EntriesNewer Entries Creative Commons License Some rights reserved.