ruby-dev summary 26325-26385

  • Thread starter Masayoshi TAKAHASHI
  • Start date
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])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top