Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.

Conversation

@nickvergessen
Copy link
Collaborator

@nickvergessen nickvergessen commented Sep 30, 2022

Company log is being spamed by

Could not detect any host in  https://github.com/nextcloud

at the moment.

Note the double space before the url. It's the white space matched by the regex from the beginning of:
https://github.com/nextcloud/vue-richtext/blob/d85ed78990833c8f29828d369ae387bbd9b4d8a6/src/helpers.js#L1

I currently added a trim on the servers controller as a work around, but this here would also be a fix I guess.

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen
Copy link
Collaborator Author

Also this should have a test I guess, but I was unable to figure it out

@juliusknorr juliusknorr merged commit 2a9c92d into master Oct 1, 2022
@juliusknorr juliusknorr deleted the bugfix/noid/fix-leading-and-trailing-spaces branch October 1, 2022 16:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants