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

[console] --uri options does not set full path #3935

Closed
PhilippVerpoort opened this issue Sep 27, 2018 · 0 comments
Closed

[console] --uri options does not set full path #3935

PhilippVerpoort opened this issue Sep 27, 2018 · 0 comments

Comments

@PhilippVerpoort
Copy link

When calling a drupal console command with the --uri option, only a part of the provided input is used for building paths such as links. E.g.:

drupal uli 1 --uri="https://www.example.org/mypage/"

will result in

http://www.example.org/user/reset/1/1538087927/T1zDrRHZ35knpTpl4Sei4cQFQkhXJNJyQhXkqQ/login

which is incorrect, as you can see it's http and not https and furthermore the last bit /mypage has been stripped off. Running that exact same command with drush

drush uli 1 --uri="https://www.example.org/mypage/"

gives the expected result:

https://www.example.org/mypage/user/reset/1/1538087927/T1zDrRHZ35knpTpl4Sei4cQFQkhXJNJyQhXkqQ/login

I've confirmed it with a few other commands, so it's certainly not confined to the drupal uli command.

Any ideas where this is coming from or how to fix it?

Drupal version: 8.5.6
Drupal Console version: 1.8.0
Drush version: 8.1.7 (launcher 0.5.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants