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

core: utils: http: include query string in path for auth #150

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

akirillo
Copy link
Contributor

This PR updates the getPathFromUrl helper used in making authenticated requests to the relayer to include the query string in the path. As of renegade-fi/renegade#884, this is now expected to be present for authenticating requests that include query strings.

Testing

I tested this against a local relayer (running renegade-fi/renegade#884) and using a local frontend that ran with a canary release of these changes. I asserted that the task history endpoint could be successfully invoked when the task_history_len parameter was set.

@akirillo akirillo added the enhancement New feature or request label Jan 10, 2025
@akirillo akirillo requested a review from sehyunc January 10, 2025 01:21
@akirillo akirillo self-assigned this Jan 10, 2025
@akirillo akirillo merged commit 732e3f3 into main Jan 10, 2025
1 check passed
@akirillo akirillo deleted the andrew/query-string-in-auth branch January 10, 2025 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants