Opened 17 months ago
Closed 17 months ago
#1488290 closed Bugs (fixed)
Bug in handling of base href and inline content
| Reported by: | alec | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.7.1 |
| Component: | PHP backend | Version: | 0.7 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When a mail has a <base href=... it causes URLs to be rewritten (func.inc: function rcmail_resolve_base(...)) but this function should skip URLs referring to inline content (ie. cidart.xxx) or you'll end up with invalid URL's like this:
Code:
<base href="http://www.example.com"> ... <img src="cid:part10.9e755a1794d1cdca724a1e916b331718_MID5397_t1315386" />
The image URL will be rewritten to:
Code:
http://www.example.com/cid:part10.9e755a1794d1cdca724a1e916b331718_MID5397_t1315386
Change History (1)
comment:1 Changed 17 months ago by alec
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Fixed in [f5d62f71]