Issue #9563 has been updated by Zachary Scott.

Status changed from Assigned to Closed
% Done changed from 0 to 100

Applied in changeset r46984.

----------
* lib/uri/common.rb: [DOC] [Bug #9563] Recommend using URI.escape
  before parsing a uri to avoid invalid characters. Reported by
  Evgeniy Serykh.

----------------------------------------
Bug #9563: URI.parse error
https://bugs.ruby-lang.org/issues/9563#change-48094

* Author: Evgeniy Serykh
* Status: Closed
* Priority: Normal
* Assignee: Zachary Scott
* Category: doc
* Target version: current: 2.2.0
* ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422)
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
I have the error for the url :

`... 
pry(main)> URI.parse "http://upload.wikimedia.org/wikipedia/commons/1/1c/01-Russian_alphabet-_.svg"
URI::InvalidURIError: bad URI(is not URI?): http://upload.wikimedia.org/wikipedia/commons/1/1c/01-Russian_alphabet-_.svg` 

My ruby version is: 

`$ ruby -v
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]`



-- 
https://bugs.ruby-lang.org/