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

[WIP] Use real URL parsing for links in messages #4515

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

im-adithya
Copy link
Contributor

@im-adithya im-adithya commented Mar 9, 2021

Description

Till now:
Moves the work of new URL(url, realm) out of isInternalLink and getPathsFromURL functions as a first step to change isInternalLinks.js to use URL object instead of strings.

Issues related to this PR

#4292

@im-adithya im-adithya force-pushed the task-use-urlparsing branch from 4996102 to 854a264 Compare March 9, 2021 09:44
Changes isInternalLink to accept a URL object instead
of a string and moves the work of new URL(url, realm)
out of the same as a first step to change
isInternalLinks.js to use URL object.

Related to zulip#4292
Changes getPathsFromUrl to accept URL object and modifies
the function calls accordingly.

Related to zulip#4292
@im-adithya im-adithya force-pushed the task-use-urlparsing branch from 0e565bd to 1fb8afd Compare March 12, 2021 03:07
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

Successfully merging this pull request may close these issues.

1 participant