M
Masayoshi TAKAHASHI
Hi all,
This is a summary of ruby-dev mailing list in these days.
[ruby-dev:26324] XMLRPC charset
Kazuhiro NISHIYAMA suggested that the default charset of
xmlrpc library should be UTF-8.
In RFC3023, MIME and XML processors MUST assume that
the charset of text/xml with omitted charset parameter
is "us-ascii." So strict server/client cannot use
non-ascii characters with this implementation.
[ruby-dev:26367] Security problem with xmlrpc
Takahiro Kambe reported that he received a notification
of a security problem with xmlrpc:
http://secunia.com/advisories/15767/
In Ruby CVS HEAD, lib/xmlrpc/utils.rb had one-liner fix
but it was not applied in 1.8 branch.
This mail had no reply, but 1.8 branch was fixed.
[ruby-dev:26375] shebang without "ruby"
When Ruby executes a shebang script, Ruby interpreter checks shebang
line and if there are no string "ruby", she kick the program in
shebang line.
nobu nakada made a patch, because he guessed this function had
no necessity. He proposed a new behavior:
* consider shebang without "ruby" as -x option without argument
Receiving the comment, Matz proposed another behavior:
* consider shebang without "ruby" as just a comment (ignore options
in the line)
Regards,
Masayoshi 'Maki' Takahashi ([email protected])
This is a summary of ruby-dev mailing list in these days.
[ruby-dev:26324] XMLRPC charset
Kazuhiro NISHIYAMA suggested that the default charset of
xmlrpc library should be UTF-8.
In RFC3023, MIME and XML processors MUST assume that
the charset of text/xml with omitted charset parameter
is "us-ascii." So strict server/client cannot use
non-ascii characters with this implementation.
[ruby-dev:26367] Security problem with xmlrpc
Takahiro Kambe reported that he received a notification
of a security problem with xmlrpc:
http://secunia.com/advisories/15767/
In Ruby CVS HEAD, lib/xmlrpc/utils.rb had one-liner fix
but it was not applied in 1.8 branch.
This mail had no reply, but 1.8 branch was fixed.
[ruby-dev:26375] shebang without "ruby"
When Ruby executes a shebang script, Ruby interpreter checks shebang
line and if there are no string "ruby", she kick the program in
shebang line.
nobu nakada made a patch, because he guessed this function had
no necessity. He proposed a new behavior:
* consider shebang without "ruby" as -x option without argument
Receiving the comment, Matz proposed another behavior:
* consider shebang without "ruby" as just a comment (ignore options
in the line)
Regards,
Masayoshi 'Maki' Takahashi ([email protected])