Change main router request variable from 'q' to 'req'. This is necessary to implement search in the twitter api addon, because twitter requires use of the variable 'q'.
This commit is contained in:
@@ -46,7 +46,7 @@ class Rpost extends \Zotlabs\Web\Controller {
|
||||
// make sure we're not looping to our own hub
|
||||
if(($url) && (! stristr($url, \App::get_hostname()))) {
|
||||
foreach($_GET as $key => $arg) {
|
||||
if($key === 'q')
|
||||
if($key === 'req')
|
||||
continue;
|
||||
$url .= '&' . $key . '=' . $arg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user