--- google-authenticator.php.orig	2013-01-05 21:28:05.000000000 +0200
+++ google-authenticator.php	2013-04-23 09:55:01.274881287 +0300
@@ -253,7 +253,7 @@
 	echo "</tr>\n";
 
 	// Create URL for the Google charts QR code generator.
-	$chl = urlencode( "otpauth://totp/{$GA_description}?secret={$GA_secret}" );
+	$chl = rawurlencode( 'otpauth://totp/'.rawurlencode( $GA_description ).'?secret='.rawurlencode( $GA_secret ) );
 	$qrcodeurl = "https://chart.googleapis.com/chart?cht=qr&amp;chs=300x300&amp;chld=H|0&amp;chl={$chl}";
 
 	if ( $is_profile_page || IS_PROFILE_PAGE ) {
