Skip to content

v0.6.1

Choose a tag to compare

@rubidus-api rubidus-api released this 28 Nov 16:37

ReteGet 0.6.1 — a stricter HTTP client, Digest logins with any user name

Bounded response heads. The built-in HTTP client (used for HTTPS on Android 2.3 and 4.x, and for folder listings and Latest) now refuses a response head that is too large: a status, header or chunk-size line over 32 KB, more than 200 header lines, or more than 128 KB of headers in all, and a negative chunk size. A server, or someone in the path, can no longer make the phone buffer without end. Real servers stay well inside the limits: github.com's longest header line is about 4 KB.

Digest logins with a user name outside ASCII. Such a name is now sent as username* (RFC 7616 3.4.4) instead of raw bytes; ASCII names are sent as before.

APK: reteget-0.6.1.apk, 274,930 bytes, SHA-256 ef8816d6cbdc7b57022a353bcce58d6b5083282b6fe983f976b0303e7e5b9b8e. Same signing key and the same four permissions as earlier releases; built with JDK 21 and reproducible from this tag. Checked on Android 2.3.7: a GitHub download through the built-in TLS 1.3.

ReteGet 0.6.1 — 더 엄격한 HTTP 클라이언트, 어떤 사용자 이름으로도 Digest 로그인

응답 헤더 크기 제한. 자체 HTTP 클라이언트(안드로이드 2.3·4.x의 HTTPS, 폴더 목록, Latest에 쓰입니다)가 지나치게 큰 응답 헤더를 거부합니다. 32 KB가 넘는 상태·헤더·청크 크기 줄, 200줄이 넘는 헤더, 모두 합쳐 128 KB가 넘는 헤더, 음수 청크 크기입니다. 서버나 중간의 누군가가 폰에 한없이 쌓아 두게 할 수 없습니다. 실제 서버는 한참 안쪽입니다. github.com의 가장 긴 헤더 줄이 약 4 KB입니다.

ASCII가 아닌 사용자 이름의 Digest 로그인. 이런 이름은 날 바이트 대신 username*(RFC 7616 3.4.4)로 보냅니다. ASCII 이름은 전과 같습니다.

APK: reteget-0.6.1.apk, 274,930 바이트, SHA-256 ef8816d6cbdc7b57022a353bcce58d6b5083282b6fe983f976b0303e7e5b9b8e. 서명 키와 네 가지 권한은 이전과 같고, JDK 21로 빌드했으며 이 태그에서 재현할 수 있습니다. 안드로이드 2.3.7에서 자체 TLS 1.3으로 GitHub 다운로드를 확인했습니다.