Skip to content

Commit 3a0530f

Browse files
Apply mb_strtoupper consistently to TLD for filename
Co-authored-by: henriquemoody <154023+henriquemoody@users.noreply.github.com>
1 parent b50e992 commit 3a0530f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src-dev/Commands/UpdateDomainSuffixesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
109109

110110
// Convert TLD to Punycode for filename if it contains non-ASCII characters
111111
$punycoded = idn_to_ascii($tld, IDNA_DEFAULT, INTL_IDNA_VARIANT_UTS46);
112-
$tldForFile = $punycoded !== false ? mb_strtoupper($punycoded) : $tld;
112+
$tldForFile = mb_strtoupper($punycoded !== false ? $punycoded : $tld);
113113

114114
$this->dataSaver->save(
115115
$suffixList,

0 commit comments

Comments
 (0)