Skip to content

Commit

Permalink
#81 encode 'strings' value in lingo, decode 'strings' value in string…
Browse files Browse the repository at this point in the history
….js (to avoid using URI reserved characters)
  • Loading branch information
pixelzoom committed Jan 16, 2015
1 parent c55aeef commit af468d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirejs-plugins/string.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ define( function( require ) {
var fallbackStringPath = getPath( FALLBACK_LOCALE );

// strings may be specified via the 'strings' query parameter
var queryParameterStrings = JSON.parse( window.phetcommon.getQueryParameter( 'strings' ) || '{}' );
var queryParameterStrings = JSON.parse( decodeURIComponent( window.phetcommon.getQueryParameter( 'strings' ) || '{}' ) );

var locale;
//Browser version first
Expand Down

0 comments on commit af468d3

Please sign in to comment.