We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
firebase-tools: 7.6.1
Platform: all
See #1771 for original report
Ping localhost:5001/foo/bar/baz
localhost:5001/foo/bar/baz
Ignored because that's not a Firebase-relevant URL.
This line in functionsEmulator.ts:
functionsEmulator.ts
const httpsFunctionRoute = `/:project_id/:region/:trigger_name`;
Matches basically any three-segment URL. So the above would try to run function baz in region bar in project foo.
baz
bar
foo
We should do a few things:
projectId
region
4xx
The text was updated successfully, but these errors were encountered:
samtstern
Successfully merging a pull request may close this issue.
[REQUIRED] Environment info
firebase-tools: 7.6.1
Platform: all
[REQUIRED] Test case
See #1771 for original report
[REQUIRED] Steps to reproduce
Ping
localhost:5001/foo/bar/baz
[REQUIRED] Expected behavior
Ignored because that's not a Firebase-relevant URL.
[REQUIRED] Actual behavior
This line in
functionsEmulator.ts
:Matches basically any three-segment URL. So the above would try to run function
baz
in regionbar
in projectfoo
.We should do a few things:
projectId
into this path.region
is one of a valid set before trying to execute a function, otherwise send a4xx
error.The text was updated successfully, but these errors were encountered: