WordPress / WordPress/Requests

[Task] Audit whether I18n domains are handled correctly everywhere

Open
#758 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: help wanted Type: testing/chores/QA
Dominant language
PHP
Stars
3.6k
Forks
500
Avg merge
2d 21h
Merged PRs (30d)
5

Description

Verify whether there are any code paths which could be reached where an international (multi-byte) domain would not have been translated to its ASCII value yet and non-multibyte-safe functions are being used.

This audit should, of course, safeguard this for the future with additional integration tests if/when needed.

Note: this audit should only verify this for the officially supported API. Not officially supported entry points can be disregarded.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the officially supported API entry points and checking where international domains are converted to ASCII before non-multibyte-safe functions are used. Review the existing integration tests and add coverage where needed; done means every supported path has been audited and the relevant behavior is protected by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.