Opened 6 years ago
Closed 6 years ago
#12762 closed defect (fixed)
"[" character is stripped from filename in image macro
|Reported by:||Jun Omae||Owned by:||Jun Omae|
Fix incorrectly stripping
Description (last modified by )
[ character is stripped from filename in image macro at tags/trac-1.0.13/trac/wiki/macros.py@:602-603#L601:
# parse filespec argument to get realm and id if contained. parts = [i.strip('''['"]''') for i in self._split_filespec_re.split(filespec)[1::2]]
- parts = [i.strip('''['"]''') + parts = [i.strip('\'"')
Tried to attach
[file.png and specify the file with image macro. I verified
[[Image(#5153:[file.png)]] doesn't work in demo-1.0/ticket/5153.
Change History (3)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
|Release Notes:||modified (diff)|
|Status:||new → assigned|
comment:3 by , 6 years ago
|Status:||assigned → closed|
Note: See TracTickets for help on using tickets.
Fixed in  and merged in .