[NTG-context] URL oddity

Rik Kabel context at rik.users.panix.com
Thu Apr 3 04:14:21 CEST 2014


Below are two MWEs. The only difference is with \setupinteraction. When 
the  resulting link is copied from the pdf and pasted into a browser, 
one can see that there is a trailing / added to the interactive version, 
but not to the non-interactive version. For this url (and many others), 
that causes a 404 failure. Additional experimentation shows that a 
second / is not added when a trailing slash has been provided.

This is not the case with TL2013. It is the case with 2014.03.28 15:04 
MKIV beta.

Why has the trailing slash added? Is this an intentional change? If so, 
is there a method to invoke the older behavior.

    \starttext
    \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf]
    \from[aurl]
    \stoptext


    \setupinteraction[state=start]
    \starttext
    \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf]
    \from[aurl]
    \stoptext

-- 
Rik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140402/bc4a2b44/attachment.html>


More information about the ntg-context mailing list