clear-code / redmine_full_text_search

Full text search for Redmine
MIT License
61 stars 24 forks source link

Change the path passed to ChupaText to pathname #141

Closed abetomo closed 3 months ago

abetomo commented 3 months ago

For example:

ChupaText::InputData.new("C:\\\\Users\\work\\redmine/bin/rails")
C:/Ruby31-x64/lib/ruby/3.1.0/uri/rfc3986_parser.rb:66:in `split': bad URI(is not URI?): "C:\\\\Users\\work\\redmine/bin/rails" (URI::InvalidURIError)

After change:

ChupaText::InputData.new(Pathname("C:\\\\Users\\work\\redmine/bin/rails"))
(success)