Skip to content

Commit

Permalink
security slash
Browse files Browse the repository at this point in the history
  • Loading branch information
dogversioning committed Jan 7, 2025
1 parent b536ec5 commit b20e82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard/post_distribute/post_distribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def validate_github_url(config):
parsed_url = urllib.parse.urlparse(config["url"])
if (
not parsed_url.netloc == "github.com"
or not parsed_url.path.startswith("/smart-on-fhir")
or not parsed_url.path.startswith("/smart-on-fhir/")
or any(c not in valid_chars for c in config["url"])
):
raise ValueError(f"{config['url']} is not an official Cumulus study.")
Expand Down

0 comments on commit b20e82b

Please sign in to comment.