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

Handle percentEncoded option #29

Open
1 of 3 tasks
ssssota opened this issue Dec 18, 2024 · 2 comments
Open
1 of 3 tasks

Handle percentEncoded option #29

ssssota opened this issue Dec 18, 2024 · 2 comments
Assignees

Comments

@ssssota
Copy link
Collaborator

ssssota commented Dec 18, 2024

percentEncoded: _ = true, // TODO: Handle percentEncoded

  • Research behavior
  • Write tests
  • Implement
@takao-h takao-h self-assigned this Jan 14, 2025
@takao-h
Copy link
Contributor

takao-h commented Jan 31, 2025

swcutilにおける%を含むURLの検証時の挙動の調査結果

swcutil は、URL のパスやクエリパラメータがパーセントエンコードされている場合に、それをデコードしてから一致を確認します。
例えば、/search/%2F/search/ として扱われます。

@takao-h
Copy link
Contributor

takao-h commented Jan 31, 2025

実装方針

  1. テストの追加
  2. デフォルト値をtrueに設定
  3. percentEncodedが含まれるときの処理を追記

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants