mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 17:45:50 +03:00
[GH-ISSUE #257] unexpected path prefix #64
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @21888 on GitHub (Jul 20, 2022).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/257
http://localhost:8080/monitoring/
http://localhost:8080/
What does he mean by launching directly as HTTP
@fc221 commented on GitHub (Sep 26, 2022):
Brother, have you solved it? I have encountered similar problems
@binary4cat commented on GitHub (Sep 27, 2022):
I'm currently having this problem.
@pkierski commented on GitHub (Apr 7, 2023):
I guess you've tried to run it on Windows?
I've faced the same issue. It comes from exploiting
filepath.Abs()here. On Windowsfilepath.Abs(r.URL.Path)transforms "/monitoring" to "c:\monitoring" which is correct absolute path in terms of filesystem, but in this place is invalid. The next check (is the path starting with asynqmon root?) fails.filepath.Abs(r.URL.Path)should be replaced withfilepath.ToSlash(filepath.Clean(r.URL.Path)). I'll try to prepare pull request for it.