This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
This account is not set to public on notestock.
OH: Don't deploy Javascript on Friday the 13th. Too many unluckies.
Optimize Status#permitted_for 500x (account timeline) (#5373) いただきますー
pullせずにmergeしてpushしちゃったびっくりした
git reset --hard origin/ブランチ
してpullからやりなおし。
\マスターに/ \追随しますたー/
Merged tootsuite/mastodon at c35132a73837af9fb4b0835160fce8ac2e717fc6
$ :| openssl s_client -connect mastodon.zunda.ninja:443 -servername mastodon.zunda.ninja -showcerts 2>/dev/null | openssl x509 -noout -dates
notBefore=Oct 12 23:49:50 2017 GMT
notAfter=Jan 10 23:49:50 2018 GMT
更新されたところだ〜
期待どおり最後に _ がくっついてる (c35132a73837af9fb4b0835160fce8ac2e717fc6) https://mastodon.zunda.ninja/media/EPO0UxdsGAvuWo1nn8Q
$ irb
> require 'uri'
=> true
> URI.escape('http://example.com/foo bar ほげ')
=> "http://example.com/foo%20bar%20%E3%81%BB%E3%81%92"
URI.parseしてからホスト部だけぷにぷにと思ったら面倒だった!
> require 'uri'
> URI.parse('http://ぷにぷに.com/ほげ ふが')
URI::InvalidURIError: URI must be ascii only "http://\u{3077}\u{306b}\u{3077}\u{306b}.com/\u{307b}\u{3052} \u{3075}\u{304c}"
ニコニコ伸びるパーセント
> require 'uri'
=> true
> x='%'; 10.times{x=URI.escape(x)}; x
=> "%25252525252525252525"