1. Fix warnings as reported on https://www.drupal.org/node/2387189#comment-11919113:
Warning: strpos() expects parameter 1 to be string, object given in Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() (line 347 of core/lib/Drupal/Component/Utility/UrlHelper.php).
Warning: htmlspecialchars() expects parameter 1 to be string, object given in Drupal\Component\Utility\Html::escape() (line 421 of core/lib/Drupal/Component/Utility/Html.php).
2. Fix query parameter generate after searching from block present on search/google
Comments
Comment #2
navneet0693 commentedComment #3
navneet0693 commentedComment #6
navneet0693 commentedAdding swentel in credits as he helped me solving the issue on IRC.
Comment #7
navneet0693 commentedComment #8
afinnarn commented