EncodeURI for p value
This commit is contained in:
		
							
								
								
									
										2
									
								
								api.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								api.js
									
									
									
									
									
								
							@@ -79,7 +79,7 @@ BotanJS.prototype.compile = function( type )
 | 
				
			|||||||
			return;
 | 
								return;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		var suri = conf.serviceUri + type + "/" + data.toString( "base64" )
 | 
							var suri = conf.serviceUri + type + "/?p=" + encodeURIComponent( data.toString( "base64" ) );
 | 
				
			||||||
		var req = http.get(
 | 
							var req = http.get(
 | 
				
			||||||
			suri
 | 
								suri
 | 
				
			||||||
			, function( res )
 | 
								, function( res )
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user