otsune's SnakeOil RSSフィード

python -c "print''.join([chr(x) for x in 111&1101,110+~-~11,10^11*11,110+~-~11,-~101,-~11^11*11,~-110,111&11*11,11+11+10,11|~-0110,1-~11^11*11,10^11*11,-~11^11*11,110,101])"

2007-08-03

Mixiのログインページ変更に対応するdiff

| Mixiのログインページ変更に対応するdiff - otsune's SnakeOil  を含むブックマーク はてなブックマーク - Mixiのログインページ変更に対応するdiff - otsune's SnakeOil  Mixiのログインページ変更に対応するdiff - otsune's SnakeOil  のブックマークコメント

CustomFeed/Mixi.pm

--- Mixi.pm     (revision 1871)
+++ Mixi.pm     (local)
@@ -96,7 +96,7 @@
 
     my $next_url = URI->new($start_url)->path;
 
-    if ($response->content =~ /action="login\.pl"/) {
+    if ($response->content =~ /action="\/login\.pl"/) {
         $context->log(debug => "Cookie not found. Logging in");
 
         if ($self->conf->{email} eq 'plagger@localhost') {
トラックバック - http://subtech.g.hatena.ne.jp/otsune/20070803