Opened 4 years ago

Closed 4 years ago

# wrong attachment format

Reported by: Owned by: erictioh84@… Jun Omae normal TracDragDropPlugin normal 1.0

### Description

After uploaded an attachment, when we click the down arrow there are it will display the link of attachment image.

The attachment link format is attachment:xxx.etc which is not correct and cannot be read by trac. it should be [attachment:xxx.etc] (Added square bracket)

### comment:1 Changed 4 years ago by Jun Omae

Priority: high → normal

I don't understand it. According to wiki:TracLinks#attachment:links, attachment:filename.ext is correct.

### comment:2 Changed 4 years ago by erictioh84@…

If i use attachment:sqlnet.log it will be: attachment:sqlnet.log

If i use [attachment:sqlnet.log] it will be: sqlnet.log

You can see that the attachment word is not there anymore. Which 1 do you think looks better? I personally think when we put the attachment shouldn't be a "attachment" word infront of our attachment right?

And if we want to set it to another name simply: othername

### comment:3 Changed 4 years ago by Jun Omae

Type: defect → enhancement

The plugin provides a simple Trac Link for the attachment in correct format. If you want a custom link, you can modify the link which the text is copied.

 normal form attachment:sqlnet.log attachment:sqlnet.log​ without prefix [attachment:sqlnet.log] sqlnet.log​ custom label [attachment:sqlnet.log the "sqlnet.log" file] the "sqlnet.log" file​ custom label ² [[attachment:sqlnet.log|the "sqlnet.log" file ²]] the "sqlnet.log" file ²​ <...> pair 

### comment:4 Changed 4 years ago by Jun Omae

Resolution: → wontfix new → closed

I will not plan to change it.

### Modify Ticket

Change Properties