Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore mailto links #7

Closed
luke- opened this issue Dec 4, 2020 · 1 comment
Closed

Ignore mailto links #7

luke- opened this issue Dec 4, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@luke-
Copy link
Contributor

luke- commented Dec 4, 2020

[Zend\Http\Exception\InvalidArgumentException] Zend\Uri\Exception\InvalidUriPartException: Scheme "mailto" is not valid or is not accepted by Zend\Uri\Http in /srv/humhub/protected/vendor/zendframework/zend-uri
Stack trace:
#0 /srv/humhub/protected/vendor/zendframework/zend-uri/src/Uri.php(284): Zend\Uri\Uri->setScheme('mailto')
#1 /srv/humhub/protected/vendor/zendframework/zend-uri/src/Http.php(214): Zend\Uri\Uri->parse('mailto:some-...')
#2 /srv/humhub/protected/vendor/zendframework/zend-uri/src/Uri.php(142): Zend\Uri\Http->parse('mailto:some-...')
#3 /srv/humhub/protected/vendor/zendframework/zend-http/src/Request.php(203): Zend\Uri\Uri->__construct('mailto:some-...')
#4 /srv/humhub/protected/vendor/zendframework/zend-http/src/Client.php(317): Zend\Http\Request->setUri('mailto:some-...')
#5 /srv/humhub/protected/vendor/zendframework/zend-http/src/Client.php(143): Zend\Http\Client->setUri('mailto:some-...')
#6 /srv/www/htdocs/suse/modules/linkpreview/controllers/IndexController.php(37): Zend\Http\Client->__construct('mailto:some-...', Array)
#7 [internal function]: humhub\modules\linkpreview\controllers\IndexController->actionFetch()
#8 /srv/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#9 /srv/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(180): yii\base\InlineAction->runWithParams(Array)
#10 /srv/humhub/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('fetch', Array)
#11 /srv/humhub/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('linkpreview/ind...', Array)
#12 /srv/humhub/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(humhub\components\Request))

@luke- luke- added the bug Something isn't working label Dec 4, 2020
@buddh4
Copy link

buddh4 commented Dec 7, 2020

Fixed in v1.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants