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

URL routing will skip if the first character is a number #2108

Closed
sdhczw opened this issue Jul 8, 2022 · 0 comments
Closed

URL routing will skip if the first character is a number #2108

sdhczw opened this issue Jul 8, 2022 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@sdhczw
Copy link

sdhczw commented Jul 8, 2022

Describe the bug

  1. The api code is

    @handler Upload3DHandler
    post /3d(Void) returns (FileUploadResp);

  2. generated code

    		{
     			Method:  http.MethodPost,
     			Path:    "/d",
     			Handler: upload.Upload3DHandler(serverCtx),
     		},

Environments (please complete the following information):

  • OS: [e.g. Linux]
  • go-zero version [e.g. 1.3.4]
  • goctl version [e.g. 1.3.8, optional]

More description
Add any other context about the problem here.

@sdhczw sdhczw changed the title url路由第一个字符为数字会跳过 URL routing will skip if the first character is a number Jul 8, 2022
@kevwan kevwan added the kind/bug Something isn't working label Jul 8, 2022
kesonan added a commit to kesonan/go-zero that referenced this issue Jul 11, 2022
@kevwan kevwan closed this as completed in 1b51d0c Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants