36件ヒット
[1-36件を表示]
(0.010秒)
別のキーワード
ライブラリ
- shellwords (12)
-
webrick
/ httputils (12)
モジュール
-
WEBrick
:: HTTPUtils (12)
キーワード
- Shellwords (12)
-
ruby 1
. 8 . 3 feature (12)
検索結果
-
WEBrick
:: HTTPUtils . # escape(str) -> String (18119.0) -
与えられた文字列を数値参照文字列に変換します。
...使用して変換します。
control = (0x0..0x1f).collect{|c| c.chr }.join + "\x7f"
space = " "
delims = '<>#%"'
unwise = '{}|\\^[]`'
nonascii = (0x80..0xff).collect{|c| c.chr }.join
/[#{Regexp.escape(control + space + delims + unwise + nonascii)}]/n
@param str 文字列を... -
ruby 1
. 8 . 3 feature (42.0) -
ruby 1.8.3 feature *((<ruby 1.8 feature>)) *((<ruby 1.8.2 feature>))
...ようになりました。
=== 2005-09-16
: File.join [ruby] [compat]
型チェックを厳密にするようになりました。
$ ruby-1.8.2 -e 'p File.join(1, 2)'
"1/2"
$ ruby-1.8.3 -e 'p File.join(1, 2)'
-e:1:in `join': can't convert Fixnum into String (TypeError)......th = Thread.new{
$SAFE = 3
class Hoge
def foo
puts "safe level: #{$SAFE}"
end
end
}
th.join
p $SAFE
Hoge.new.foo
$ ruby-1.8.2 mthd_taint.rb
0
"safe level: 0"
$ ruby-1.8.3 mthd_taint.rb
0
mthd_taint.rb:......。
=== 2005-02-14
: OpenSSL::SSL::SSLSocket#post_connection_check [lib][new]
追加 ((<ruby-dev:25690>))
=== 2005-02-13
: ERB::Util.html_escape [lib] [compat]
: ERB::Util.url_encode [lib] [compat]
モジュール関数としても使えるようになりました。((<ruby-dev:25687>))
=... -
Shellwords (12.0)
-
UNIX Bourne シェルの単語分割規則に従った文字列分割と文字列エスケープ を行うモジュールです。
...エスケープする shellescape、文字列エスケープを文字列リストに対して適用
する shelljoin の3つのモジュール関数を提供します。
これらのメソッドの別名として、Shellwords.split, Shellwords.escape,
Shellwords.join も使用可能です。
た...