From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86876 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: URL oddity Date: Wed, 02 Apr 2014 22:14:21 -0400 Message-ID: <533CC3FD.4030704@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1351091059==" X-Trace: ger.gmane.org 1396519205 3159 80.91.229.3 (3 Apr 2014 10:00:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 10:00:05 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 03 12:00:01 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WVdqH-0003lo-Js for gctc-ntg-context-518@m.gmane.org; Thu, 03 Apr 2014 11:21:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8A4CA1021F for ; Thu, 3 Apr 2014 04:14:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MMwv8ycE-ZXh for ; Thu, 3 Apr 2014 04:14:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6F54210202 for ; Thu, 3 Apr 2014 04:14:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ABE0A101E3 for ; Thu, 3 Apr 2014 04:14:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jA8SKOX0PlIC for ; Thu, 3 Apr 2014 04:14:40 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id EA5F4101E1 for ; Thu, 3 Apr 2014 04:14:29 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s332ESIS012152 for ; Thu, 3 Apr 2014 04:14:28 +0200 Original-Received: from [192.168.201.179] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id A7C1F2E850 for ; Wed, 2 Apr 2014 22:14:27 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03LJeesfD - 4b1e2261fac1 - 20140403 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86876 Archived-At: This is a multi-part message in MIME format. --===============1351091059== Content-Type: multipart/alternative; boundary="------------000101050909010507000809" This is a multi-part message in MIME format. --------------000101050909010507000809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------000101050909010507000809 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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
--------------000101050909010507000809-- --===============1351091059== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1351091059==--