Re: Proxying internationalised URLs in EZproxy config.txt (proposed new warning)

"Fitchett, Deborah" <[email protected]> Mon, 16 Dec 2019 01:27:59 +0000
Newsgroups gmane.education.ezproxy
Message-ID <SYCPR01MB4798FC90083775B85A01624FC5510@SYCPR01MB4798.ausprd01.prod.outlook.com>
I’d never heard about punycode before and have now just read the Wikipedia article. That’s… slightly terrifying.

I would support the proposed error message, but what I’d support even more would be for OCLC to just fix EZproxy to allow non-ASCII characters. I don’t know how complex this might be but it seems like a better long-term solution than punycode.

Deborah

From: EZproxy List <[email protected]> On Behalf Of Stuart Yeates
Sent: Friday, 29 November 2019 11:12 AM
To: [email protected]
Subject: [EZPROXY-L] Proxying internationalised URLs in EZproxy config.txt (proposed new warning)

In New Zealand have an official language (te reo Te Reo Māori) which includes non-ASCII characters. Our national TLD .nz has allowed these characters to appear in domain names for almost ten years. I recently tried to add one of these to EZproxy and it didn't work. Unfortunately it's non-workingness was silent: EZproxy silently truncated the line at the 'bad' character but still entered the truncated hostname into it's database. The real fix for this is to use punycode to escape the non-ASCII characters, but it's hard to know that this is the fix unless (a) you know things are broken and (b) that punycode exists.

I would like to to suggest a new error message to handle this situation:

"2019-11-29 10:54:32 Truncated at 'viewer.wair' due to non-ASCII character. If this is an internationalized domain name, use punycode."

Below is the example I had.

cheers
stuart

Old config.txt:

Title VUW Library Rosetta viewer (Special order-dependent stanza)
URL http://vuwunicolibevp1.ods.vuw.ac.nz<http://vuwunicolibevp1.ods.vuw.ac.nz>
HJ https://vuwunicolibevp1.ods.vuw.ac.nz<https://vuwunicolibevp1.ods.vuw.ac.nz>
HJ http://viewer.waireto.victoria.ac.nz<http://viewer.waireto.victoria.ac.nz>
HJ https://viewer.waireto.victoria.ac.nz<https://viewer.waireto.victoria.ac.nz>
HJ http://viewer.wairētō.victoria.ac.nz<http://viewer.wairētō.victoria.ac.nz>
HJ https://viewer.wairētō.victoria.ac.nz<https://viewer.wairētō.victoria.ac.nz>

What appeared in /status :

HJ viewer.wair:443
HJ viewer.wair:80
HJ http://viewer.waireto.victoria.ac.nz:443<http://viewer.waireto.victoria.ac.nz:443>
HJ http://viewer.waireto.victoria.ac.nz:80<http://viewer.waireto.victoria.ac.nz:80>
HJ http://vuwunicolibevp1.ods.vuw.ac.nz:443<http://vuwunicolibevp1.ods.vuw.ac.nz:443>
H http://vuwunicolibevp1.ods.vuw.ac.nz:80<http://vuwunicolibevp1.ods.vuw.ac.nz:80>

Fixed config.txt:

Title VUW Library Rosetta viewer (Special order-dependent stanza)
URL http://vuwunicolibevp1.ods.vuw.ac.nz<http://vuwunicolibevp1.ods.vuw.ac.nz>
HJ https://vuwunicolibevp1.ods.vuw.ac.nz<https://vuwunicolibevp1.ods.vuw.ac.nz>
HJ http://viewer.waireto.victoria.ac.nz<http://viewer.waireto.victoria.ac.nz>
HJ https://viewer.waireto.victoria.ac.nz<https://viewer.waireto.victoria.ac.nz>
HJ http://viewer.xn--wairt-lza12b.victoria.ac.nz<http://viewer.xn--wairt-lza12b.victoria.ac.nz>
HJ https://viewer.xn--wairt-lza12b.victoria.ac.nz<https://viewer.xn--wairt-lza12b.victoria.ac.nz>

What appears in /status:

HJ http://viewer.xn--wairt-lza12b.victoria.ac.nz:443<http://viewer.xn--wairt-lza12b.victoria.ac.nz:443>
HJ http://viewer.xn--wairt-lza12b.victoria.ac.nz:80<http://viewer.xn--wairt-lza12b.victoria.ac.nz:80>
HJ http://viewer.waireto.victoria.ac.nz:443<http://viewer.waireto.victoria.ac.nz:443>
HJ http://viewer.waireto.victoria.ac.nz:80<http://viewer.waireto.victoria.ac.nz:80>
HJ http://vuwunicolibevp1.ods.vuw.ac.nz:443<http://vuwunicolibevp1.ods.vuw.ac.nz:443>
H http://vuwunicolibevp1.ods.vuw.ac.nz:80<http://vuwunicolibevp1.ods.vuw.ac.nz:80>

Ngā mihi
stuart

--
Stuart Yeates
Library Technology Specialist
Victoria University of Wellington
[email protected]<mailto:[email protected]>



________________________________

To unsubscribe from the EZPROXY-L list, click the following link:
http://listserv.oclclists.org/scripts/wa.exe?SUBED1=EZPROXY-L&A=1<http://listserv.oclclists.org/scripts/wa.exe?SUBED1=EZPROXY-L&A=1>

________________________________

"The contents of this e-mail (including any attachments) may be confidential and/or subject to copyright. Any unauthorised use, distribution, or copying of the contents is expressly prohibited. If you have received this e-mail in error, please advise the sender by return e-mail or telephone and then delete this e-mail together with all attachments from your system."


********************************************************************
If you wish to stop receiving messages from EZPROXY-L or otherwise amend your preferences,
you can do so <a href="https://www.oclc.org/forms/internet-subscription.en.html">here</a>.
Or email [email protected] including the relevant text below in the body of the email:
• To unsubscribe: "unsubscribe EZPROXY-L"
• To receive EZPROXY-L in digest form: "set EZPROXY-L digest"
• To set your options to no mail: "set EZPROXY-L nomail"
• To receive these messages in the future "set EZPROXY-L mail"
To contact the list owners directly please send your message to [email protected].
If you unsubscribe from EZPROXY-L, you will no longer be able to participate in any of its features, including the public forum.
To unsubscribe from all OCLC marketing email communications
(including all OCLC listervs, OCLC Connect emails, OCLC event notifications, product/service/cooperative updates and newsletters),
please email us at [email protected].