[Groonga-commit] groonga/groonga-command-parser at 09346c1 [master] Ensure buffer content ASCII-8BIT

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 11 18:32:03 JST 2015


Kouhei Sutou	2015-05-11 18:32:03 +0900 (Mon, 11 May 2015)

  New Revision: 09346c1d350d135ee7a7c1be5d6e1a4297d5a48e
  https://github.com/groonga/groonga-command-parser/commit/09346c1d350d135ee7a7c1be5d6e1a4297d5a48e

  Message:
    Ensure buffer content ASCII-8BIT

  Modified files:
    lib/groonga/command/parser.rb

  Modified: lib/groonga/command/parser.rb (+1 -0)
===================================================================
--- lib/groonga/command/parser.rb    2015-03-13 15:11:35 +0900 (704be7a)
+++ lib/groonga/command/parser.rb    2015-05-11 18:32:03 +0900 (10072e8)
@@ -123,6 +123,7 @@ module Groonga
       # @param [String] chunk parsed chunk of command.
       def <<(chunk)
         @buffer << chunk
+        @buffer.force_encoding("ASCII-8BIT")
         consume_buffer
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index