Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: <link rel="alternate">を追って照会するのはOKレスポンスが返却された場合のみに #14627

Conversation

kakkokari-gtyih
Copy link
Contributor

What

Why

Additional info (optional)

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

@github-actions github-actions bot added the packages/backend Server side specific issue/PR label Sep 25, 2024
Copy link
Contributor

github-actions bot commented Sep 25, 2024

このPRによるapi.jsonの差分
差分はありません。
Get diff files from Workflow Page

@KisaragiEffective
Copy link
Collaborator

メモ: sourceはシンプルに「ダウンしてる時に追うのはよくない」と言っている

Copy link
Collaborator

@KisaragiEffective KisaragiEffective left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

実質2xxのチェック追加のみ

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 39.57%. Comparing base (9d3a331) to head (dc3aa90).
Report is 3 commits behind head on develop.

Files with missing lines Patch % Lines
...s/backend/src/core/activitypub/ApRequestService.ts 0.00% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #14627      +/-   ##
===========================================
- Coverage    39.67%   39.57%   -0.10%     
===========================================
  Files         1542     1542              
  Lines       192781   192785       +4     
  Branches      2475     3540    +1065     
===========================================
- Hits         76492    76302     -190     
- Misses      115726   115886     +160     
- Partials       563      597      +34     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@syuilo syuilo merged commit dd124a8 into misskey-dev:develop Sep 25, 2024
31 checks passed
@syuilo
Copy link
Member

syuilo commented Sep 25, 2024

🙏🏻

@kakkokari-gtyih kakkokari-gtyih deleted the fix-only-accept-html-alternate-on-success branch September 25, 2024 03:53
HotoRas pushed a commit to HotoRas/misskey-neko that referenced this pull request Sep 27, 2024
…v#14627)

* Only accept HTML `<link rel="alternate">` on success

(cherry picked from commit 6ea48be)

* Use `res.ok` instead of 200-299

(cherry picked from commit b667a68)

* jsdomに戻す

* Update Changelog

* Revert "jsdomに戻す"

This reverts commit c036036.

* 🎨

---------

Co-authored-by: Julia Johannesen <[email protected]>
u1-liquid added a commit to MisskeyIO/misskey that referenced this pull request Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/backend Server side specific issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants