General

Profile

madeofcode (Mark Dodwell)

  • Login: madeofcode
  • Email: mark@madeofcode.com
  • Registered on: 01/05/2011
  • Last sign in: 03/24/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

03/24/2016

08:59 AM Ruby Bug #12212 (Closed): Parsing a URI of "mailto:?subject=hi" with `URI.parse` raises an exception
Parsing a URI of "mailto:?subject=hi" with `URI.parse` raises an exception. I believe this is a valid "mailto" URI, as defined in RFC6068.
Behavior observed:
```ruby
>> URI.parse("mailto:?subject=hi")
NoMethodError: undefined met...
madeofcode (Mark Dodwell)

07/07/2012

03:28 PM Ruby Feature #6697: [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
You could make the same argument against String. Why would you use that over `#to_s`? I can't think of any use cases for that :)
To me, it's really about API consistency. I don't believe you would actually use it frequently, but inclu...
madeofcode (Mark Dodwell)

07/05/2012

06:49 AM Ruby Bug #6700: [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
s/disable/desirable/ madeofcode (Mark Dodwell)
06:48 AM Ruby Bug #6700 (Closed): [PATCH] Fix some 4xx status classes to inherit correctly from Net::HTTPClientError
These recently added 4xx status classes were inheriting from Net::HTTPSuccess, which seems incorrect.
I believe they should inherit from Net::HTTPClientError, as with all the other 4xx cases.
Note that this change subtly alters/fix...
madeofcode (Mark Dodwell)

07/04/2012

07:07 PM Ruby Feature #6617: Net::HTTP: Bind to a specific local IP/port
Forgive me if this is a silly question, but what is the point of initializing the instance variables to nil in the initializer? madeofcode (Mark Dodwell)
06:26 PM Ruby Bug #6696: [PATCH] ERB::Util.url_encode should not escape unreserved characters
Sorry, somehow this ticket subject line got truncated. Newline paste fail. madeofcode (Mark Dodwell)
05:03 PM Ruby Bug #6696 (Closed): [PATCH] ERB::Util.url_encode should not escape unreserved characters
ERB::Util.url_encode is escaping tilde (~) where it should not according to the RFC.
This fixes that behaviour so that it now correctly avoids escaping all unreserved characters as per RFC 3986, Section 2.3:
http://tools.ietf.org/htm...
madeofcode (Mark Dodwell)
06:25 PM Ruby Feature #6697 (Feedback): [PATCH] Add Kernel#Symbol conversion method like String(), Array() etc.
For consistency, it seems to make sense to add a Kernel#Symbol helper.
This change would not break any existing code and it provides a more consistent interface.
Thoughts?
madeofcode (Mark Dodwell)

Also available in: Atom