Task #9006 (closed)
Web Top Links: allow external links
| Reported by: | wmoore | Owned by: | wmoore |
|---|---|---|---|
| Priority: | major | Milestone: | OMERO-4.4 |
| Component: | Web | Version: | n.a. |
| Keywords: | n.a. | Cc: | atarkowska |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | 2012-06-05 (16) |
Description
Allow users to provide external links by either
try:
url = reverse(name)
except:
url = name
or
if is_valid_url(name):
url = name
else:
url = reverse(name)
Probably the first option is safer.
Change History (2)
comment:1 Changed 7 years ago by wmoore
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 7 years ago by Will Moore <will@…>
(In [7e9f2318ae0ccd7c2875c160c7cf40747112d580/ome.git] on branch develop) Webclient TOP_LINKS can be external. See #9006
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Fixed https://github.com/will-moore/openmicroscopy/commit/7e9f2318ae0ccd7c2875c160c7cf40747112d580