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

Support period in parameter names for COSMOS 6 #1677

Merged
merged 6 commits into from
Nov 15, 2024
Merged

Support period in parameter names for COSMOS 6 #1677

merged 6 commits into from
Nov 15, 2024

Conversation

jmthomas
Copy link
Member

@jmthomas jmthomas commented Oct 29, 2024

Explicitly disallow quotes ', ", and squiggle brackets {}.
closes #1672

@jmthomas jmthomas requested a review from ryanmelt October 29, 2024 13:13
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.31%. Comparing base (be0a654) to head (80d29b5).
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1677      +/-   ##
==========================================
- Coverage   76.32%   76.31%   -0.01%     
==========================================
  Files         603      603              
  Lines       46096    46101       +5     
  Branches      837      844       +7     
==========================================
+ Hits        35183    35184       +1     
- Misses      10817    10821       +4     
  Partials       96       96              
Flag Coverage Δ
frontend 56.28% <100.00%> (-0.05%) ⬇️
python 83.98% <ø> (-0.01%) ⬇️
ruby-api 48.70% <ø> (ø)
ruby-backend 82.17% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jmthomas jmthomas changed the title Disallow periods in parameter names for COSMOS 6 Disallow brackets and quotes in parameter names for COSMOS 6 Nov 1, 2024
@jmthomas jmthomas changed the title Disallow brackets and quotes in parameter names for COSMOS 6 Support period in parameter names for COSMOS 6 Nov 1, 2024
tools-router:
rule: Path(`/tools/{id:.*/.*[.].*}`)
rule: Path(`/tools/{id:.*/.*[.](ttf|otf|woff|woff2|html|js|css|png|jpg|jpeg|gif|svg|ico|json|xml|txt|pdf|zip|tar|gz|tgz|csv|tsv|md|yaml|yml|bin|doc|docx|xls|xlsx|ppt|pptx|mp4|mp3|wav|avi|mov|flv|swf|apk|ipa|deb|rpm|exe|msi|dmg|pkg|sh|bat|cmd|ps1|py|pl|rb|php|java|class|jar|war|ear|so|dll|lib|a|o|obj|pdb|pdb|lib|dylib|framework)}`)
Copy link
Member Author

Choose a reason for hiding this comment

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

This is a hack. We should remove and force tools to route their static files from a known route like /files. We should also handle 404s better.

Copy link
Member

@ryanmelt ryanmelt left a comment

Choose a reason for hiding this comment

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

Fix playwright

@jmthomas jmthomas merged commit 792980a into main Nov 15, 2024
27 checks passed
@jmthomas jmthomas deleted the no_period branch November 15, 2024 00:59
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.

Telemetry Grapher Does Not Graph Items That Contain "."
2 participants