clarin-eric / VLO

Virtual Language Observatory
GNU General Public License v3.0
14 stars 6 forks source link

Display problem for landing page (and other URLs?) in technical details #18

Closed twagoo closed 7 years ago

twagoo commented 8 years ago

For an example, see hdl:11495/DB24-E0B1-A02D-1.

In the technical details tab, the URL for the landing page is not rendered correctly. The 'open in original context link' functions correctly, pointing to http://clarino.uib.no/iness/landing-page?resource=nld-lassy-con&view=short in this case, but the field value is shown as follows:

http://clarino.uib.no/iness/landing-page;view=short

Notice that the link target is not correct either. Most likely, the semicolon breaks the URL parsing.

twagoo commented 7 years ago

Link detection and href rendering logic is implemented in vlo-web-app/src/main/java/eu/clarin/cmdi/vlo/wicket/components/SmartLinkFieldValueLabel.java