Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#13120 closed defect (fixed)

BookmarkPlugin incorrectly redirects location

Reported by: s32rybeafa@… Owned by: Ryan J Ollos
Priority: normal Component: BookmarkPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description

When I click the "star" icon to bookmark a page, the browser gets redirected to an incorrect link. e.g. if I'm on page

http://server/trac/wiki/CamelCase

and I click the star, I get sent to

http://server/wiki/CamelCase

Which is of course a 404 error. The URL for the star is

http://server/trac/bookmark/add/CamelCase

The bookmark does get successfully added; the only problem is the redirect. Perhaps the plugin only fails when the trac root is not / (mine is /trac)?

I'm using BookmarkPlugin rev 16293 with Trac 1.2.

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by Ryan J Ollos

Could you post the markup of the link element with id #bookmark_this?

comment:2 Changed 7 years ago by Ryan J Ollos

Oh, nevermind about comment:1. Do you have JavaScript disabled?

comment:3 Changed 7 years ago by Ryan J Ollos

Owner: changed from yosiyuki to Ryan J Ollos
Status: newaccepted

comment:4 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16357:

1.0.0dev: Fix incorrect URL in redirect

Fixes #13120.

comment:5 Changed 7 years ago by s32rybeafa@…

Thank you!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.