diff --git a/code_comments/comment.py b/code_comments/comment.py
index 8850db9..678ba5e 100644
--- a/code_comments/comment.py
+++ b/code_comments/comment.py
@@ -74,7 +74,7 @@ def href(self):
             href = self.req.href.browser(self.path, rev=self.revision,
                                          codecomment=self.id)
         elif self.is_comment_to_changeset:
-            href = self.req.href.changeset(self.revision, codecomment=self.id)
+            href = self.req.href.changeset(self.revision + '/' + self.path, codecomment=self.id)
         elif self.is_comment_to_attachment:
             href = self.req.href('/attachment/ticket/%d/%s'
                                  % (self.attachment_ticket,