Skip to content

Only match http(s) URLs for references#34322

Merged
juliusknorr merged 2 commits intomasterfrom
bugfix/noid/limit-url-matching-to-https
Sep 30, 2022
Merged

Only match http(s) URLs for references#34322
juliusknorr merged 2 commits intomasterfrom
bugfix/noid/limit-url-matching-to-https

Conversation

@nickvergessen
Copy link
Copy Markdown
Member

@nickvergessen nickvergessen added bug 3. to review Waiting for reviews labels Sep 29, 2022
@nickvergessen nickvergessen added this to the Nextcloud 25 milestone Sep 29, 2022
@nickvergessen nickvergessen requested review from a team, icewind1991, juliusknorr, max-nextcloud and skjnldsv and removed request for a team September 29, 2022 09:14
@szaimen
Copy link
Copy Markdown
Contributor

szaimen commented Sep 29, 2022

image

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/noid/limit-url-matching-to-https branch from d551dda to 474dcf0 Compare September 29, 2022 09:29
Copy link
Copy Markdown
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@nickvergessen nickvergessen added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 29, 2022
@blizzz blizzz mentioned this pull request Sep 29, 2022
@blizzz blizzz modified the milestones: Nextcloud 25, Nextcloud 26 Sep 29, 2022
@blizzz
Copy link
Copy Markdown
Member

blizzz commented Sep 29, 2022

master is still 26, please trigger a backport if necessary

@juliusknorr
Copy link
Copy Markdown
Member

/backport to stable25

@juliusknorr
Copy link
Copy Markdown
Member

JSunit would need some adjustments for comments to not match nextcloud.com anymore

  1. should parse URLs only
    OCP.Comments tests
    Expected 'nextcloud.com' to equal 'nextcloud.com'.
    at core/js/tests/specs/public/commentsSpec.js:48:19
    at Array.forEach ()
    at Object. (core/js/tests/specs/public/commentsSpec.js:46:18)
    Expected 'hi nextcloud.com' to equal 'hi nextcloud.com'.
    at core/js/tests/specs/public/commentsSpec.js:48:19
    at Array.forEach ()
    at Object. (core/js/tests/specs/public/commentsSpec.js:46:18)
    Expected 'nextcloud.com foobar' to equal 'nextcloud.com foobar'.
    at core/js/tests/specs/public/commentsSpec.js:48:19
    at Array.forEach ()
    at Object. (core/js/tests/specs/public/commentsSpec.js:46:18)
    Expected 'hi nextcloud.com foobar' to equal 'hi nextcloud.com foobar'.
    at core/js/tests/specs/public/commentsSpec.js:48:19
    at Array.forEach ()
    at Object. (core/js/tests/specs/public/commentsSpec.js:46:18)
    Expected 'hi help.nextcloud.com/category/topic foobar' to equal 'hi help.nextcloud.com/category/topic foobar'.
    at core/js/tests/specs/public/commentsSpec.js:48:19
    at Array.forEach ()
    at Object. (core/js/tests/specs/public/commentsSpec.js:46:18)

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

Fixed

@juliusknorr juliusknorr merged commit 27ce4bd into master Sep 30, 2022
@juliusknorr juliusknorr deleted the bugfix/noid/limit-url-matching-to-https branch September 30, 2022 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants