fixed query string encoding
This commit is contained in:
parent
9f61fafdd7
commit
d0efc8709d
4
reader
4
reader
|
@ -17,10 +17,10 @@ use andreskrey\Readability\Configuration;
|
|||
use andreskrey\Readability\ParseException;
|
||||
|
||||
$readability = new Readability(new Configuration());
|
||||
$target_url = getenv("QUERY_STRING");
|
||||
$target_url = urldecode(getenv("QUERY_STRING"));
|
||||
|
||||
|
||||
if ($target_url === null) {
|
||||
if ($target_url == null) {
|
||||
echo "10 Link an article to parse:\n";
|
||||
die();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue