ericmann/WP-Publication-Archive — Issue #11: Relative URL with 'Upload Publication', openfile.php checks for absolute
Author: JacobDorman
Created: 2012-01-29 09:02:39+00:00
State: open

The 'upload publication' functionality returns a relative url by default (hence the message about using absolute above I guess)

then openfile.php checks for absolute.

```php
if ( strpos( $_GET['file'], (isset($_SERVER['HTTPS']) ? 'https|' : 'http|') . $_SERVER['SERVER_NAME'] ) === false )
die();
```