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

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

Conversation

jmthomas
Copy link
Member

@jmthomas jmthomas commented Oct 29, 2024

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

Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.50%. Comparing base (6cc33e6) to head (467bd78).
Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1677      +/-   ##
==========================================
- Coverage   76.50%   76.50%   -0.01%     
==========================================
  Files         618      618              
  Lines       46933    46937       +4     
  Branches      850      850              
==========================================
  Hits        35908    35908              
- Misses      10930    10933       +3     
- Partials       95       96       +1     
Flag Coverage Δ
python 83.96% <ø> (+<0.01%) ⬆️
ruby-api 48.74% <ø> (ø)
ruby-backend 82.52% <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

sonarcloud bot commented Nov 1, 2024

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 "."
1 participant