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

Changes Endpoint Doesn't Support URL Encoded Values For Include/Decline Data such as Summary #1970

Closed
mainawycliffe opened this issue May 22, 2024 · 2 comments · Fixed by #2012
Assignees
Labels
bug Something isn't working

Comments

@mainawycliffe
Copy link
Contributor

Here is a curl request example, with the summary field being URL encoded as it's value look like this -> status.artifact, status.conditions, for simple string, it works well.

Returns empty response.

http://localhost:3000/api/catalog/changes?summary=status.artifact%252C%2520status.conditions&from=now-2d&to=now&page=1&page_size=200&sort_by=-created_at&recursive=all&depth=1&include_deleted_configs=false
@mainawycliffe mainawycliffe added the bug Something isn't working label May 22, 2024
@mainawycliffe
Copy link
Contributor Author

Related to -> #1931

@adityathebe
Copy link
Member

@mainawycliffe The encoding is incorrect. It looks like it's encoded twice.

@moshloop moshloop transferred this issue from flanksource/mission-control May 30, 2024
mainawycliffe added a commit that referenced this issue Jun 18, 2024
Fixes #1970

fix: switch to post for catalog changes, instead of get

fix: envode value and symbol
mainawycliffe added a commit that referenced this issue Jun 18, 2024
Fixes #1970

fix: switch to post for catalog changes, instead of get

fix: envode value and symbol

fix: incorrect encoding issues
mainawycliffe added a commit that referenced this issue Jun 18, 2024
Fixes #1970

fix: switch to post for catalog changes, instead of get

fix: envode value and symbol

fix: incorrect encoding issues
moshloop pushed a commit that referenced this issue Jun 19, 2024
Fixes #1970

fix: switch to post for catalog changes, instead of get

fix: envode value and symbol

fix: incorrect encoding issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants