Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#19279 closed defect (bug) (duplicate)

Admin actions redirects to invalid domain with IDN-domains

Reported by: kristofferr's profile kristofferR Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3
Component: General Keywords:
Focuses: Cc:

Description

I've got an international domain with an Ø in it (lets say it's kjøpting.no) and it works mostly great, except from some truly annoying admin redirects. It redirects to the domain, just without the IDN charachter.

For example, when you try to log in to the admin interface (at kjøpting.no/wp-login.php) it tries to access kjpting.no/wp-admin instead of kjøpting.no/wp-admin. If you add the ø to the URL, you get access.

It's the same for a lot of stuff like after installing plugins. It's possible to work around it by adding the IDN-charachter manually, but it's quite annoying and shouldn't be like this.

Change History (4)

#1 @knutsp
13 years ago

  • Cc knut@… added

#2 @SergeyBiryukov
13 years ago

Make sure WordPress address and Site address on General Settings screen are in Punycode: http://xn--kjpting-r1a.no.

Trying to log in to the admin then leads to kjøpting.no/wp-admin/ as expected.

I can only reproduce this if I type kjøpting.no directly in those fields, which isn't the right thing to do.

#3 follow-up: @kristofferR
13 years ago

Heh, that was the error. It works now.

However - shouldn't the two boxes either just support IDN domains or at least warn about not supporting it?

#4 in reply to: ↑ 3 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Replying to kristofferR:

However - shouldn't the two boxes either just support IDN domains or at least warn about not supporting it?

Usually they're correctly populated in wp_guess_url() during installation.

We can probably convert them after manual changing too, let's focus on that in #10690.

Note: See TracTickets for help on using tickets.