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

Improve parsing of auspice URLs with a colon character #1210

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

jameshadfield
Copy link
Member

In preparation for new nextstrain.org functionality to allow
users to specify custom JSON locations as a URL within the
nextstrain.org URL (see nextstrain/nextstrain.org#216)
we need to improve the logic auspice uses to identify dual trees.

dual trees are defined via : but we wish to allow a : character
to appear within pathA (and/or pathB) in the form of "http://" or "https://"
and not interpret this as requesting two trees.

In preparation for new nextstrain.org functionality to allow
users to specify custom JSON locations as a URL within the
nextstrain.org URL (see nextstrain/nextstrain.org#216)
we need to improve the logic auspice uses to identify dual trees.

dual trees are defined via <pathA>:<pathB> but we wish to allow a `:` charater
inside pathA (and/or pathB) and not interpret this as requesting two trees.
@jameshadfield jameshadfield temporarily deployed to auspice-dont-split-data-hctlbj September 18, 2020 21:33 Inactive
@jameshadfield jameshadfield merged commit 9f6c2c1 into master Sep 18, 2020
@jameshadfield jameshadfield deleted the dont-split-dataset-prefix branch September 18, 2020 22:00
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