Namespace: OpenEdge.DataAdmin.Lang
Class
WebUtil
Parent classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object

/* Copyright (c) 2011 by progress Software Corporation.
/*
/* all rights reserved. no part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from progress Software Corporation.
File:WebUtil
Author(s):from webspeed
Created:Wed Jul 14 22:48:06 EDT 2010
/* Unsafe characters that must be encoded in URL's. See RFC 1738 Sect 2.2.




Method Summary
Options Name Purpose
CHARACTER UrlDecode (character) /* UrlEncode */
CHARACTER UrlEncode (character) /**************************************************************************** Description: Encodes unsafe characters in a URL as per RFC 1738 section 2.2. <URL:http://ds.internic.net/rfc/rfc1738.txt>, 2.2 Input Parameters: Character string to encode, Encoding option where "query", "cookie", "default" or any specified string of characters are valid. In addition, all characters specified in the global variable url_unsafe plus ASCII values 0 <= x <= 31 and 127 <= x <= 255 are considered unsafe. Returns: Encoded string (unkown value is returned as blank) Global Variables: url_unsafe, url_reserved ****************************************************************************/
CHARACTER UrlEncode (character, character)


Method Detail
Top

CHARACTER UrlDecode (character)

/* UrlEncode
Parameters:
pValue CHARACTER
Returns CHARACTER
Top

CHARACTER UrlEncode (character)

Description: Encodes unsafe characters in a URL as per RFC 1738 section 2.2.
<URL:http://ds.internic.net/rfc/rfc1738.txt>, 2.2
Input Parameters: Character string to encode, Encoding option where "query",
"cookie", "default" or any specified string of characters are valid.
In addition, all characters specified in the global variable url_unsafe
plus ASCII values 0 <= x <= 31 and 127 <= x <= 255 are considered unsafe.
Returns: Encoded string (unkown value is returned as blank)
Global Variables: url_unsafe, url_reserved
Parameters:
pValue CHARACTER
Returns CHARACTER
Top

CHARACTER UrlEncode (character, character)

Parameters:
pValue CHARACTER
pEnctype CHARACTER
Returns CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15