ariya/phantomjs — pull request #356 by dburrows (2012-12-07 18:22:49+00:00)
Title: Increase maximum number of redirections

Modern browsers permit up to 20 redirections, this pull request brings Phantom JS in line with that limit.

The is the 'smallest change that could possible work', there s a issue open to make this configurable here http://code.google.com/p/phantomjs/issues/detail?id=849 if this is preferable feel free to reject.