PHPGangsta/GoogleAuthenticator — pull request #1 by edwardmp (2012-08-05 22:37:59+00:00)
Title: Fixed bug that malformes QR URL

Hi,

I've just spent 2 hours trying to figure out why my QR wouldn't show. If I visited the Google URL, it said it was malformed.

The problem the person is having here: http://stackoverflow.com/questions/11074191/google-2-factor-authentication-qr-code-issues is about the same problem I was having.

I eventually fixed this problem my applying a proper urlencode (yours was partially encoded already, but you forget the user defined variables) and secondly by changing the URL from google.com to chart.googleapis.com. Don't ask me why but the latter seems to be working better.

Good luck and thanks for making this plugin!