formのaction="?"をなくしてほしい(AWS Cloudfrontが入る環境にてDigest認証によってエラーになるため)
- Dominant language
- PHP
- Stars
- 788
- Forks
- 719
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 45
Description
### 概要(Overview)
AWSのCloudfront+ALB+EC2の構成の環境にてEC2にDigest認証が入っている状態でエラーが発生します。
/admin/content/file_managerの場合、 form action="?"でsubmitすると
/admin/content/file_manager?でアクセスされているのに、
EC2に到達する際には、「?」が消え/admin/content/file_managerになります。
そのためDigest認証の処理にてエラーになる状態が発生しています。
※ AWS Cloudfrontが挟む場合の特殊ケースではありますが、action="?"も意味はないかと思いissueとして上げました
### 期待する内容(Expect) or 要望(Requirement)
自身にPOST、GETする際にaction="?"は意味がないかと思っていますので、actionを省略するか、action=""としていただけることを要望します。
Contributor guide
Research direction
Start by locating the form rendering for /admin/content/file_manager and inspect why its self-submitting form emits action="?". Reproduce the request through AWS CloudFront, ALB, and EC2 with Digest authentication; done means the form omits or uses an empty action and the request completes without the reported authentication error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- authentication, cloud, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100