Thank you David

So, assuming the documentation is incorrect 
https://naviserver.sourceforge.io/n/naviserver/files/ns_urlencode.html  it 
seems that the API has been changed from AOLserver.

Brian

From: David Osborne [mailto:da...@qcode.co.uk]
Sent: 12 May 2017 12:36
To: naviserver-devel@lists.sourceforge.net
Subject: Re: [naviserver-devel] ns_urlencode on Windows Naviserver


---
Welcome to tlc_erp running at /usr/lib/naviserver/bin/nsd (pid 10339)
NaviServer/4.99.16d5 for linux built on May  4 2017 at 16:39:38
Tag: tar-4.99.16d5
tlc_erp:nscp 1> ns_urlencode 
http://www.aolserver.com/redirect.adp?url=http://www.aol.com&t=1,2,3
http://www.aolserver.com/redirect.adp?url%3dhttp://www.aol.com%26t%3d1%2c2%2c3
----



On 12 May 2017 at 12:32, Brian Fenton 
<brian.fen...@quest.ie<mailto:brian.fen...@quest.ie>> wrote:
Hi Maurizio

I really don’t know. I don’t have access to a Linux installation to check. Are 
you suggesting that the API may have changed since AOLserver?

Brian


From: Maurizio Martignano 
[mailto:maurizio.martign...@spazioit.com<mailto:maurizio.martign...@spazioit.com>]
Sent: 12 May 2017 12:31
To: 
naviserver-devel@lists.sourceforge.net<mailto:naviserver-devel@lists.sourceforge.net>
Subject: Re: [naviserver-devel] ns_urlencode on Windows Naviserver

Dear Brian,
               Is this really a “Windows Naviserver” issue or is it a matter of 
a new implementation of the function, different from what was previously done 
in Aolserver?

The two implementations seem to me quite different.

Thanks a lot,
Maurizio


From: Brian Fenton [mailto:brian.fen...@quest.ie]
Sent: 12 May 2017 11:15
To: 
'naviserver-devel@lists.sourceforge.net<mailto:naviserver-devel@lists.sourceforge.net>'
 
<naviserver-devel@lists.sourceforge.net<mailto:naviserver-devel@lists.sourceforge.net>>
Subject: [naviserver-devel] ns_urlencode on Windows Naviserver

I think there might be a problem with ns_urlencode on Windows Naviserver.

I just ran this example (taken directly from the documentation):
ns_urlencode 
http://www.aolserver.com/redirect.adp?url=http://www.aol.com&t=1,2,3

And the result was unexpected: 
http://www.aolserver.com/redirect.adp?url%3dhttp://www.aol.com%26t%3d1%2c2%2c

The correct result is 
http%3a%2f%2fwww%2eaolserver%2ecom%2fredirect%2eadp%3furl%3dhttp%3a%2f%2fwww%2eaol%2ecom%26t%3d1%2c2%2c3

This is breaking some of our existing AOLserver code during migration testing.

Any suggestions?

Brian Fenton
Senior Developer

Phone: +353 1 679 9933<tel:+353%201%20679%209933>
grantmanagementsoftware.com<http://www.grantmanagementsoftware.com>

[AIMS Grant and Programme Management]<http://www.grantmanagementsoftware.com/>




[Twitter]<https://twitter.com/AIMS_qcl>

[LinkedIn]<https://www.linkedin.com/grp/home?gid=2978658>

Quest Computing Ltd. Ushers Court | 31-33 Ushers Quay | Dublin 8, Ireland






This e-mail transmission may contain confidential information that is intended 
for the individual or entity named on the e-mail address. If you are not the 
intended recipient, please reply to the sender so that Quest Computing Ltd can 
arrange for the proper delivery and then please delete the message from your 
inbox.

If you have received this e-mail in error, you are hereby notified that any 
disclosure, copying, distribution, or reliance upon the contents of this e-mail 
is strictly prohibited. Quest Computing Ltd., Ushers Court, 31-33 Ushers Quay, 
Dublin 8, Ireland. Quest Computing Ltd. is registered in Ireland No. 146435.




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net<mailto:naviserver-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/naviserver-devel



--
David Osborne
Qcode Software Limited
http://www.qcode.co.uk
T: +44 (0)1463 896484

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to