Shared source links drop custom ports and query parameters

オープン 初心者向け
#1,822 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
swift
領域
mobile

調査の方向性

AltStoreCore/Model/Source.swift、特に Source.shareURL を読み、同じ URL 構築がアプリおよびアプリのバージョンの共有リンクでどのように使われているかを調べてください。Issue によるとカスタムポートを対象としている、リポジトリの source ID テストを確認してください。完了条件は、3 つすべての共有リンクで、ポートとクエリパラメーターを含む元のエンドポイントが保持されることです。

索引モデルが issue の本文から書いたものです。

説明

The source URL https://example.org:8443/apps.json?channel=beta produces the share link https://altstore.io/source/example.org/apps.json.

The Source.shareURL implementation only includes host() and path(). The same construction is used for app and app-version share links. A recipient cannot recover the original port or query, so a source served on a custom port or selected by a query parameter points to a different endpoint.

I verified the current Foundation expressions locally; the repository's source-ID tests also cover custom ports. Please preserve the source endpoint when building all three share links. This is a source-level reproduction on the marketplace branch; I haven't run the iOS app.

主要言語
Swift
スター
15.1k
フォーク
1.8k
平均マージ
5日 16時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

altstoreio/AltStore のほかの issue

altstoreio/AltStore の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。