onemorecloud-websolr-rails 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/solr/connection.rb +2 -1
- data/websolr-rails.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.6
|
data/lib/solr/connection.rb
CHANGED
@@ -17,7 +17,8 @@ require 'net/http'
|
|
17
17
|
class Solr::Connection
|
18
18
|
attr_reader :url, :autocommit, :connection
|
19
19
|
|
20
|
-
ILLEGAL_XML_CHARS =
|
20
|
+
ILLEGAL_XML_CHARS = /\x00|\x01|\x02|\x03|\x04|\x05|\x06|\x07|\x08|\x0B|\x0C|\x0E|\x0F|\x10|\x11|\x12|\x13|\x14|\x15|\x16|\x17|\x18|\x19|\x1A|\x1B|\x1C|\x1D|\x1E|\x1F/
|
21
|
+
|
21
22
|
|
22
23
|
# create a connection to a solr instance using the url for the solr
|
23
24
|
# application context:
|
data/websolr-rails.gemspec
CHANGED