Make WordPress Core

Opened 18 years ago

Closed 15 years ago

Last modified 15 years ago

#9850 closed defect (bug) (worksforme)

Picture Insert failes if General Settings Address is MixedCaseDomainName

Reported by: CarltonBale Owned by:
Priority: normal Milestone:
Component: Gallery Version: 2.7.1
Severity: normal Keywords:
Cc: Focuses:

Description

Pictures/media will not insert into posts if the "WordPress address (URL)" or "Blog address (URL)" are entered using Mixed Case (i.e. if the address contains capital letter) in the Settings -> General configuration page.

So if I set the WordPress Address and Blog Address to CarltonBale.com and try to insert a picture into a post, the insert picture overlay goes blank, it does not return to the post, and the "x" button in the upper right has to be clicked to close the insert blank insert image overlay.

But if I set the WordPress Address and Blog Address to carltonbale.com, image insert starts working properly.

The code that determines the path to the image file apparently can't handle site names containing capital letters. This bug has been reproduced on versions 2.6.x, 2.7.0, and 2.7.1

Change History (7)

#1 @Denis-de-Bernardy
18 years ago

  • Keywords needs-patch added
  • Milestone Unassigned → Future Release

#2 @carltonbale
17 years ago

This bug also prevent access to the admin control panel from iPhone Safari browser. Changing the site name to all lower caps resolves the issue and allows access.

#3 @Denis-de-Bernardy
17 years ago

  • Milestone Future Release → 2.9

#4 @janeforshort
17 years ago

  • Milestone 2.9 → Future Release

Punting b/c no patch. Should add to "known issues" in Codex if still a problem.

#5 @johnbillion
17 years ago

  • Keywords Insert Picture Media Failure removed

If this was fixed by simply strtolower()-ing the blog URL when it's saved, would this cause any problems with IDNs?

#6 @solarissmoke
15 years ago

  • Keywords needs-patch removed
  • Resolution → worksforme
  • Status new → closed

Tried this in trunk, and it doesn't seem to be a problem any more.

#7 @SergeyBiryukov
15 years ago

  • Milestone Future Release

FWIW, I couldn't reproduce in 2.7.1 as well (with Firefox 10).

Note: See TracTickets for help on using tickets.