Changeset 402

Show
Ignore:
Timestamp:
04/22/09 14:31:28 (9 years ago)
Author:
samuraraujo
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Explorator/trunk/vendor/plugins/activerdf_sparql-1.3.6/lib/activerdf_sparql/sparql.rb

    r394 r402  
    9494        when :get 
    9595        # encoding query string in URL 
    96         url = "#@url?query=#{CGI.escape(qs)}"         
     96        if @url.index('?') == nil 
     97          url = "#@url?query=#{CGI.escape(qs)}"         
     98        else 
     99        url = "#@url&query=#{CGI.escape(qs)}"           
     100        end 
     101        #puts url 
    97102        $activerdflog.debug "GET #{url}"         
    98103        timeout(@timeout) do