Changeset 36777
- Timestamp:
- 02/17/10 02:55:17 (3 years ago)
- Files:
-
- 1 modified
-
lang/perl/tiarra/trunk/module/Auto/FetchTitle.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/tiarra/trunk/module/Auto/FetchTitle.pm
r36776 r36777 1600 1600 } 1601 1601 1602 if( my $loc = $headers->{ Location} )1602 if( my $loc = $headers->{'Location'} ) 1603 1603 { 1604 1604 $DEBUG and $this->_debug($full_ch_name, "debug: has Location header: $loc"); … … 1663 1663 if( $enc eq 'auto' && $content2 =~ m{ 1664 1664 <meta(?:\s[^>]*?)?\s 1665 (?:http-equiv\s*=\s*(["'])Content-Type\1(?:\s[^>]*?)?\scontent\s*=\s*(["'])\w+/\w+(?:\+\w+)*\s*;\s*charset=([-\w]+)\2| 1666 content\s*=\s*(["'])\w+/\w+(?:\+\w+)*\s*;\s*charset=([-\w]+)\4(?:\s[^>]+?)?\shttp-equiv\s*=\s*(["'])Content-Type\6) 1665 (?:http-equiv\s*=\s*(["']?)Content-Type\1(?:\s[^>]*?)?\scontent\s*=\s*(["']?)\w+/\w+(?:\+\w+)*\s*;\s*charset=([-\w]+)\2| 1666 content\s*=\s*(["']?)\w+/\w+(?:\+\w+)*\s*;\s*charset=([-\w]+)\4(?:\s[^>]+?)?\shttp-equiv\s*=\s*(["']?)Content-Type\6| 1667 charset\s*=\s*(["']?)([-\w])+\7) 1667 1668 (?:\s[^>]*|/)?> 1668 1669 }ix ) 1669 1670 { 1670 my $e = lc($3 || $5 );1671 my $e = lc($3 || $5 || $8); 1671 1672 $enc = $e =~ /s\w*jis/ ? 'sjis' 1672 1673 : $e =~ /euc/ ? 'euc'
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)