Most recent post

What characters are allowed unencoded in query strings?

A couple of months ago I advised people to Be careful with non-ascii characters in URLs. We’ve been discussing that at work lately, more specifically whether characters like “:” and “/” are allowed unencoded in query strings or not.

I may well have made mistakes trying to understand the specification, so any help clarifying any errors in the following would be appreciated.

The summary of my previous post is this:

In essence this means that the only characters you can reliably use for the actual name parts of a URL are a-z, A-Z, 0-9, -, ., _, and ~. Any other characters need to be Percent encoded.

But what about those query strings? After studying RFC 3986 - Uniform Resource Identifier (URI): Generic Syntax I’ve come to the following conclusions.

Posted on August 30, 2010 in Web Standards

Slightly older posts

Minimise file size with the YUI Compressor TextMate Bundle

You can use the YUI Compressor TextMate bundle to make minifying your CSS and JavaScript files from within TextMate as easy as hitting a keystroke.

Posted on August 26, 2010 in CSS, Coding, JavaScript

CSS3 is not HTML5

Many people mean a lot of things when they talk about HTML5. I think some related technologies are ok to bundle with HTML5, but not CSS.

Posted on August 23, 2010 in CSS, HTML 5

No longdesc attribute in HTML5

The longdesc attribute, which can be used to provide a longer description of an image, is currently not included in the HTML5 specification.

Posted on August 20, 2010 in Accessibility, HTML 5

Please don’t resize my browser window

One of the most annoying things a website can do when I visit it is use JavaScript to resize my browser window. Just don't do it.

Posted on August 16, 2010 in Browsers, Usability

Frustrated by the Web

During my time off from work I've still been using the Web. It makes me very frustrated more often than it should.

Posted on August 10, 2010 in Usability

Vacation

Going offline for a few weeks to enjoy the short Swedish summer.

Posted on June 16, 2010 in Life

Be careful with non-ascii characters in URLs

Unless you have really strong internationalisation requirements, consider sticking to the following characters in URLs: a-z, A-Z, 0-9, -, ., _, and ~.

Posted on June 14, 2010 in Browsers, Quick Tips, Usability, Web Standards

More posts are in the archive

Subscribe to the RSS feed for 456bereastreet.com

Sponsors

Authentic Jobs

Authentic Jobs: Come in, we're hiring

Job openings from Authentic Jobs

Ads by BuySellAds

DreamHost web hosting

Try DreamHost!

Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost