In v7.x a null is returned if the cited parameter isn't found. Now, in v8 it correctly returns an empty string if no value - as documented. If updating v7 templates you may need to check for explicit tests for a null as publishing to a v8 NP server will break your templates.
In v7.x the portion of the URL from the '?' onwards was added onto the end of the returned string, requiring a split operation to safely extract the actual URL. The is fixed in v8 which returns the correct string. Again, porting from v7 to v8 NP servers may break code workarounds for the v7 bug.
Keywords (to assist indexing/searching):
Question: Unpublicised v8 fixes to v7 API bugs [FAQ00377.htm]
Last Update:- 21 June 2006
Site and articles © Mark Anderson 2001-2007 - Visit my home page