[Bug] PerformHttpRequest does not normalize empty URL path to / #89
Closed
JesterIruka
started this conversation in
[BUG] FiveM for GTAV Enhanced
Replies: 2 comments 1 reply
|
Thanks, we are looking into this. |
0 replies
|
A fix for this bug has been implemented and is available in the latest patch. Please try again and let us know if the issue persists. Thanks for your help! |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
https://any-api.com./, the request fails or behaves incorrectly.https://any-api.com/) for the request to work as expected.Expected behavior: When no path is provided, PerformHttpRequest should default the request path to
/, consistent with standard HTTP client behavior (browsers, curl, most HTTP libraries).Actual behavior: The path is left empty instead of being normalized to
/, causing the request to fail unless the developer manually adds the trailing slash.Issue type
Server
Repro rate
Always
Server build version
FXServer-early-access b92 win32
OS
No response
CPU
No response
GPU
No response
RAM
No response
Storage type
None
Connection type
None
ISP and bandwidth
No response
DxDiag
No response
Network graph
No response
Platform
Windows
OS version / distribution
Windows 11 Build 26200
CPU
AMD Ryzen 7 5700G
RAM
32 GB DDR4
Using txAdmin?
Yes
Hosting provider
Self-hosted
Machine type
None
/perf endpoint output
No response
DDoS protection
No response
ulimit -n value (Linux only)
No response
Docker Compose file (Docker only)
No response
Steps to Reproduce
https://any-api.com./, the request fails or behaves incorrectly.https://any-api.com/) for the request to work as expected.Expected Behavior
When no path is provided, PerformHttpRequest should default the request path to
/, consistent with standard HTTP client behavior (browsers, curl, most HTTP libraries).Actual Behavior
The path is left empty instead of being normalized to
/, causing the request to fail unless the developer manually adds the trailing slash.Evidence
No response
Additional Context
No response
All reactions