Why does the URL http://a/%%30%30 crash Google Chrome?

Tom Scott explains this in his YouTube video:

  1. http://a/%%30%30 is decoded as http://a/%00 because %30 is 0
  2. http://a/%00 is then further decoded by another piece of code as http://a/<NULL> because %00 is the NULL character

The bug was originally demonstrated by Andris Atteka who simply added a null character to the string.

Leave a Comment