Leo Camus
e614de83fc
fix: read host= from an exe path with non-ASCII characters ( #16556 )
...
get_custom_server_from_string located "host=" in s.to_lowercase() and
sliced s with that byte index. Lowercasing can change a character's byte
length ("İ" is 2 bytes, "i̇" is 3), and on Windows the string is the full
exe path, so a profile such as C:\Users\İsmail shifted the slice past the
"h" and host came back empty. The client then fell back to the default
rendezvous server.
"host=" is ASCII, so search s.to_ascii_lowercase(), which keeps byte
offsets.
2026-10-15 10:30:06 +08:00
rustdesk
29772f6595
fix https://github.com/rustdesk/rustdesk/issues/16208
2026-09-14 14:06:03 +08:00
21pages
bc211c8031
A=b, A case insensitive ( #9976 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-11-20 19:44:24 +08:00
21pages
85ae3916cb
fix get_custom_server_from_string, relay= is not used ( #9069 )
...
Signed-off-by: 21pages <sunboeasy@gmail.com >
2024-08-15 09:57:12 +08:00
yuluo
43a0a4f8e0
fix: http/https proxy ( #7821 )
...
* add http(s) proxy
* Add front-end translation
* fix ui description
* For linux platform, add rustls support
* fix: Fix the proxy address test function.
* add: Added default prompts for agency agreement and some multi-language translations
* add: Http proxy request client
* fix: add async http proxy func and format the code
* add: Preliminary support for flutter front-end calling rust back-end http request
* Optimize HTTP calls
* Optimize HTTP calls
* fix: Optimize HTTP requests, refine translations, and fix dependencies
* fix: Win and macOS compilation errors
* fix: web platforms
* fix: Optimize import
* fix: Fix web platform issues
* fix: Fix web platform issues
* fix: update ci
* fix: test ci
* test: test CI
* Revert "fix: update ci"
This reverts commit 2e5f247b2e .
* test: test CI
* test: test CI
* fix: fix lock file
* fix: Optimize imports
2024-04-25 11:46:21 +08:00
RustDesk
ac7f8a6447
Revert "http/https proxy ( #7600 )" ( #7801 )
...
This reverts commit da57fcb641 .
2024-04-23 15:26:16 +08:00
yuluo
da57fcb641
http/https proxy ( #7600 )
...
* add http(s) proxy
* Add front-end translation
* fix ui description
* For linux platform, add rustls support
* fix: Fix the proxy address test function.
* add: Added default prompts for agency agreement and some multi-language translations
* add: Http proxy request client
* fix: add async http proxy func and format the code
* add: Preliminary support for flutter front-end calling rust back-end http request
* Optimize HTTP calls
* Optimize HTTP calls
* fix: Optimize HTTP requests, refine translations, and fix dependencies
2024-04-23 15:00:23 +08:00
rustdesk
c8392a714c
license.rs -> custom_server.rs to remove misunderstanding
2024-02-26 18:05:54 +08:00