#888 closed defect (bug) (fixed)
Image upload produced invalid code
| Reported by: | dantekgeek | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 1.5 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
Whenever I upload an image, I get an incorrect image tag. Looks like this:
<img src='; http://www.intarweb-master.com/wp-content/apple_orange.jpg' alt='hkhkjh' />
I have been able to reproduce this multiple times.
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Looks like there is a stray semi-colon here (upload.php line 203):
if ( ereg('image/',$img1_type) )
else
Change to:
if ( ereg('image/',$img1_type) )
else
edited on: 02-17-05 22:12