#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)
#4
@
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
@
16 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?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.