#888 closed defect (bug) (fixed)
Image upload produced invalid code
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 1.5 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
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.
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