Project

General

Profile

Bug #11106

idn_to_ascii() with URL/URLTable aliases incorrect behavior

Added by Viktor Gurov 5 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Aliases / Tables
Target version:
Start date:
11/26/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:
Release Notes:
Default

Description

idn_to_ascii() incorrectly converts some URLs,
for example it returns empty for "https://endpoints.office.com/endpoints/worldwide?clientrequestid=b10c5ed1-bad1-445f-b386-b919946339a7" URL (office365 ip range url)

it's more safe to use IDN only for 'host' type aliases (#7255, #10968) and inside URL/URLTable (#10321)

Associated revisions

Revision 314f7804 (diff)
Added by Viktor Gurov 5 months ago

Use idn_to_ascii() only for host type aliases. Fixes #11106

History

#2 Updated by Jim Pingle 5 months ago

  • Status changed from New to Pull Request Review

#3 Updated by Renato Botelho 5 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov
  • Target version set to 2.5.0

PR has been merged. Thanks!

#4 Updated by Viktor Gurov 5 months ago

  • % Done changed from 0 to 100

#5 Updated by Viktor Gurov 4 months ago

  • Status changed from Feedback to Resolved

works as expected on 2.5.0.a.20201206.0250 -
now it only converts IDN for host type aliases

Also available in: Atom PDF