From 34d03295912ffb7001921d6d99c88c9e718ea52f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=85=B1=E5=A4=A9=E5=B0=8F=E7=A6=BD=E5=85=BD?= Date: Wed, 10 Apr 2024 00:07:54 +0800 Subject: [PATCH] Fix bug that socks5 proxy cannot apply username and password authentication MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复socks5代理无法应用用户名密码认证的bug --- changelog/v7.4.13+195.md | 5 +++++ pubspec.lock | 11 ++++++----- pubspec.yaml | 8 +++++--- 3 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 changelog/v7.4.13+195.md diff --git a/changelog/v7.4.13+195.md b/changelog/v7.4.13+195.md new file mode 100644 index 00000000..7015138d --- /dev/null +++ b/changelog/v7.4.13+195.md @@ -0,0 +1,5 @@ +- 修复socks5代理无法应用用户名密码认证的bug + +------------------------------------------------------------------------------------------ + +- Fix bug that socks5 proxy cannot apply username and password authentication \ No newline at end of file diff --git a/pubspec.lock b/pubspec.lock index 92da6288..c3d777b8 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -576,10 +576,11 @@ packages: flutter_socks_proxy: dependency: "direct main" description: - name: flutter_socks_proxy - sha256: "5603ad90c2849d2e6f2b4ed3d337653b3a6c8fb471f535e3715254913a9206ce" - url: "https://pub.flutter-io.cn" - source: hosted + path: "." + ref: HEAD + resolved-ref: "52759af6c6b245db4ba5bfa9ccc64d74f3ceb2fb" + url: "https://github.com/jiangtian616/socks_proxy" + source: git version: "0.0.3" flutter_svg: dependency: transitive @@ -828,7 +829,7 @@ packages: description: path: "." ref: HEAD - resolved-ref: "6c512731426d06bf86771093d2adb6af2db5e4ea" + resolved-ref: a4d39a14b3d0b0c8de782d37176f240c6564e682 url: "https://github.com/jiangtian616/JDownloader" source: git version: "0.0.1" diff --git a/pubspec.yaml b/pubspec.yaml index 43116135..425cbb41 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: jhentai description: A flutter app for E-Hentai/EXHentai publish_to: 'none' -version: 7.4.13+194 +version: 7.4.13+195 environment: sdk: '>=3.0.0 <4.0.0' @@ -78,7 +78,9 @@ dependencies: image_save: 5.0.0 system_network_proxy: 1.0.2 http_proxy: 1.2.1 - flutter_socks_proxy: 0.0.3 + flutter_socks_proxy: + # https://github.com/tayoji-io/socks_proxy/issues/7 + git: https://github.com/jiangtian616/socks_proxy flutter_draggable_gridview: # remove assert git: @@ -109,7 +111,7 @@ dependency_overrides: url: https://github.com/jiangtian616/dio path: dio ref: append-mode - + dev_dependencies: flutter_test: sdk: flutter