Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] [cookie-client cookies url-encode] URL-ENCODE ignores non-string values

From: greggirwin::mindspring::com at: 3-Feb-2006 12:04

The url-encode function in %cookie-client.r ignores non-string values, returning an empty string for them. Is that an intentional design element? If not, should it: a) Type the parameter to a string!, so it throws errors rather than failing silently. b) FORM the values passed in, so it can accept other types of values. c) Stay just like it is, because that's how people expect it to work. (people other than me, that is, I didn't expect it. :) -- Gregg