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

func azure functionapp publish reports case insensitive API path #3823

Open
tsoernes opened this issue Sep 16, 2024 · 2 comments
Open

func azure functionapp publish reports case insensitive API path #3823

tsoernes opened this issue Sep 16, 2024 · 2 comments

Comments

@tsoernes
Copy link

Version

azure-func --version (base) 14:29:25
4.0.6280

Description

$ func azure functionapp publish AzureFunctionRustPOC
Getting site publishing info...
[2024-09-16T12:29:07.396Z] Starting the function app deployment...
Uploading package...
Uploading 4.16 MB [###############################################################################]
Upload completed successfully.
Deployment completed successfully.
[2024-09-16T12:29:14.997Z] Syncing triggers...
Functions in AzureFunctionRustPOC:
    RustPoc - [httpTrigger]
        Invoke url: https://xxx.azurewebsites.net/api/rustpoc

However, the folder is named RustPoc and the api is only accessible through the case sensitive https://xxx.azurewebsites.net/api/RustPoc

Steps to reproduce

func azure functionapp publish

@liliankasem
Copy link
Member

I am able to see what you are describing, the url shows the lowercase name (httptrigger) of the function which is actually httpTrigger, but I am still able to invoke the function with the provided invocation URL and it is successful.

Deployment completed successfully.
[2024-11-08T19:23:52.412Z] Syncing triggers...
Functions in repro-funcpublish:
    httpTrigger - [httpTrigger]
        Invoke url: https://xxx.azurewebsites.net/api/httptrigger

the api is only accessible through the case sensitive

Is this a restriction you've made on your application? If not, can you share a full code repro so I can investigate further?

@tsoernes
Copy link
Author

tsoernes commented Nov 8, 2024

https://github.com/tsoernes/RustPoc/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants