[#69084] [Ruby trunk - Feature #11124] [Open] [PATCH] lib/*: use monotonic clock for timeouts — normalperson@...
Issue #11124 has been reported by Eric Wong.
5 messages
2015/05/06
[#69138] [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module — nobu@...
Issue #11136 has been updated by Nobuyoshi Nakada.
3 messages
2015/05/12
[#69160] [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start — nobu@...
Issue #11146 has been updated by Nobuyoshi Nakada.
4 messages
2015/05/13
[#69175] Re: [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start
— Eric Wong <normalperson@...>
2015/05/13
nobu@ruby-lang.org wrote:
[ruby-core:69199] [Ruby trunk - Bug #11149] [Assigned] URI.parse keeps '?' for query and '#' for fragment even if they are empty
From:
naruse@...
Date:
2015-05-14 19:07:28 UTC
List:
ruby-core #69199
Issue #11149 has been updated by Yui NARUSE.
Status changed from Open to Assigned
Assignee set to Yui NARUSE
As URL Standard, current behavior is correct.
https://url.spec.whatwg.org/
But Google Chrome's behavior is like what you say.
I keep watching how W3C/WHATWG decide this behavior.
----------------------------------------
Bug #11149: URI.parse keeps '?' for query and '#' for fragment even if they are empty
https://bugs.ruby-lang.org/issues/11149#change-52454
* Author: Dト」is Mosト]s
* Status: Assigned
* Priority: Normal
* Assignee: Yui NARUSE
* ruby -v: ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
~~~
p = URI.parse('http://example.com/path?query#fragment')
p.query = ''
p.fragment = ''
puts p.to_s
~~~
will output "http://example.com/path?#" but I think it should be "http://example.com/path" without '?' and '#'
--
https://bugs.ruby-lang.org/