Opened 11 years ago

Closed 11 years ago

#357 closed defect (fixed)

Invalid link href

Reported by: Shun-ichi Goto Owned by: John Hampton
Priority: normal Component: TracBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


blog.cs uses invalid href starts with href="/tags/..." and href="/wiki/..." and it navigates to out of trac project. There's a patch to use cgi_location and to fix this issue against r753.

  • 0.10/blog/templates/blog.cs

    4040        <div class="postmeta">
    4141            <ul>
    4242                <?cs if bentry.tags.present != 0 ?>
    43                 <li>Posted in: <?cs each:tag=bentry.tags.tags ?><a href="/tags/<?cs ?>"><?cs ?></a><?cs if ! tag.last ?>,<?cs /if ?> <?cs /each ?> <?cs if bentry.tags.more ?><a href="/wiki/<?cs ?>">...</a><?cs /if ?>
     43                <li>Posted in: <?cs each:tag=bentry.tags.tags ?><a href="<?cs var:cgi_location ?>/tags/<?cs ?>"><?cs ?></a><?cs if ! tag.last ?>,<?cs /if ?> <?cs /each ?> <?cs if bentry.tags.more ?><a href="<?cs ?>/<?cs ?>">...</a><?cs /if ?>
    4444                <?cs /if ?>
    4545                <li><?cs var:bentry.wiki_link ?></li>
    4646                <li><?cs ?></li>

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by John Hampton

Resolution: fixed
Status: newclosed

(In [755]) * Refactor repository layout such that I can more easily restructure the code without leaving it in a broken state

  • Apply patch from gotoh fixing invalid links. Closes #357. Thanks gotoh

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Hampton.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.