Closed Bug 475057 Opened 16 years ago Closed 5 years ago

See Also should truncate URLs

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement)

3.3.1
enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: LpSolit, Unassigned)

References

(Blocks 1 open bug)

Details

As discussed on IRC, we should replace

  http://www.foo.bar/subdir/show_bug.cgi?id=123456

by

  http://www.foo.bar/...?id=123456

in show_bug.cgi as the subdir + CGI name are not important.

It should be a one-liner to write the regexp.
A tooltip should contain the full URL, though, I think.

You can also remove https?:// from the front. You could possibly also remove "www", "bugs", and "bugzilla" from the front, which are the most common subdomains used for Bugzilla.
The full URL is displayed in the status bar in your browser. I don't think it's the right place to display the URL in a tooltip (especially because some browsers truncate too long tooltips).

This bug is only a temporary solution till bug 475059 is implemented; we don't need a too complicated regexp.
Blocks: bz-seealso

The legacy show_bug UI retires soon, so this is no longer relevant. The modal UI already does this.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.