+
Skip to content

Conversation

ViniTou
Copy link
Contributor

@ViniTou ViniTou commented Jul 15, 2025

🎫 Issue IBX-10283

Related PRs:

Description:

For QA:

Documentation:

*/
public function loadUrlAlias($id)
{
if (!preg_match('/^\d+-[a-f0-9]{32}$/', $id)) {
Copy link
Member

Choose a reason for hiding this comment

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

Can you extract regex to const ?

@ViniTou ViniTou requested a review from adamwojs July 16, 2025 08:33
Copy link

@adamwojs adamwojs merged commit 0c57041 into 4.6 Jul 16, 2025
34 of 40 checks passed
@adamwojs adamwojs deleted the ibx-10283-url-alias branch July 16, 2025 14:13
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

Successfully merging this pull request may close these issues.

6 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载