c9s/MiniPear — Issue #4: Mirroring URLs with redirect fails
Author: cweiske
Created: 2012-01-27 18:22:46+00:00
State: open

The URL `semanticscuttle.sf.net` is a redirect to `semanticscuttle.sourceforge.net`. Trying to mirror the short url fails, mirroring the long does work.

```
$ ./minipear mirror semanticscuttle.sf.net
Starting mirror semanticscuttle.sf.net...
Channel root: /home/cweiske/.minipear/pear/channels/semanticscuttle.sf.net
PHP Fatal error: Call to a member function getElementsByTagName() on a non-object in phar:///home/cweiske/Dev/tools/MiniPear/minipear/MiniPear/PearChannel.php on line 2
PHP Stack trace:
PHP 1. {main}() /home/cweiske/Dev/tools/MiniPear/minipear:0
PHP 2. require() /home/cweiske/Dev/tools/MiniPear/minipear:6
PHP 3. CLIFramework\Application->run() phar:///home/cweiske/Dev/tools/MiniPear/minipear/scripts/minipear.emb:2
PHP 4. CLIFramework\CommandBase->executeWrapper() phar:///home/cweiske/Dev/tools/MiniPear/minipear/CLIFramework/Application.php:2
PHP 5. call_user_func_array() phar:///home/cweiske/Dev/tools/MiniPear/minipear/CLIFramework/CommandBase.php:2
PHP 6. MiniPear\Command\MirrorCommand->execute() phar:///home/cweiske/Dev/tools/MiniPear/minipear/CLIFramework/CommandBase.php:0
PHP 7. MiniPear\PearChannel->loadChannelXml() phar:///home/cweiske/Dev/tools/MiniPear/minipear/MiniPear/Command/MirrorCommand.php:2
```