FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour hb_urlencode
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
hb_urlencode
Posted: Wed Apr 14, 2021 09:35 AM

Dear Antonio,

I have a question about hb_urlencode ().

I can't find this function in Harbour.

It is available in mod harbour. Shouldn't it be called
HB_FUNC( AP_URLDECODE )?
Is there also a urlencode function?

Best regards,
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hb_urlencode
Posted: Wed Apr 14, 2021 10:28 AM
Dear Otto,

Here it is:
https://github.com/harbour/core/blob/d407898675b14fbf9b10cd2e23723e9a522686e5/contrib/hbtip/encurlc.c

We renamed TIP_URLDECODE() into HB_URLDECODE() in mod_harbour to remember its origin:
https://github.com/FiveTechSoft/mod_harbour/blob/master/source/url.c

Giancarlo also provides a TIP_URLENCODE() but we have not needed it in mod_harbour yet
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion