Version 6.2 Build 452.4


Version 6.2 Build 452.4 is minor update . It includes some fixes and a few new features.  If you are up-to-date with Wildcat! versions, this is essentially a plug and play update.


Changes, Fixes, New Features and Enhancements by Wildcat! Component  

WCSERVER (Wildcat! Server)

- CHG: Changed a WC File I/O security access logi for unauthenticated access.

The WC:\CFIG folder was allowed delete and write access from within a SDK or WCX  for unauthenticated session.  Writing and deleting files in the WC:\CFIG folder requires atleast a SYSTEM or CONFIG thread context.

WCONLINE (Wildcat! Online Controller)

- New: Default Ports can be sit in Internet Servers.

Under WCCONFIG | COMPUTERS, you can now set the default ports for Telnet and Pop3 servers.  This complete all the four server ports that Wconline starts; HTTP, FTP, Telnet and POP3.

WCNODE (Wildcat! Node Monitor)

- FIX: Fixed command line switch accepting numbers for nodes.

WCWEB (Wildcat! WEB Server)

- FIX: Fixed Login/Logout bug with the SIGNED OFF cookie.

If you had all three BASIC/DIGEST and COOKIE authentication methods enabled, then this would cause a situation where after the user logged in and logged out and try to login again, wcWEB would continuosly display the cookie login form.

This was fixed, but you could also turn off BASIC/DIGEST when using the COOKIE authentication method.

- FIX: Fixed the web flow of force password changes

When password changes are activated for the user, the user flow was altered in a previous release.  This update fixes the flow which allows the user to properly relogin after change his password.

The template changes made are:


The errors file http\errors\passwordchange.wct replaces the old http\errors\passwordchange.htm file.

- NEW: Automatically use ATT1.HTML attachment for HTML display.

WCWEB will now use the ATT1.HTML attachment when the user selects to view mail in HTML mode.  This was actually added in 452.2 but it is now documented.   The ATT1.HTML is created when a user is receiving mail in Non-Preserve MIME mode. i.e. mail is stored in Wildcat! text format, attachments are separated and any HTML content is stored in ATT1.HTML as an attachment.

- EHH: Added a divider to the message text display.

A <div id="msgwin"></div> divider block was added to the message_read.htm template.   This was done to with the idea to help any possible JavaScript plugin who might need to be able to get the divider block.

- NEW: New WEB Security logic for running WCX applications.

When a WCX url does not a HTML- prefix, i.e, /code/myapplet.wcx, WcWEB will now check an WCX access filter file called:

    data\wcxaccess-custom.lst  <- for customers
    data\wcxaccess.lst             <- for Santronics

The file data\wcxaccess.lst is for SSI to add its own stock WCX file names. The file data\wcxaccess-custom.lst is for customers or 3rd party developers to add thier own custom WCX file names.

NOTE: If you plan to use the WCX ACCESS files, please create a WCXACCESS-CUSTOM.LST file instead of using the stock WCXACCESS.LST file.


Suppose you created an in-house XXXXXX.WCX application designed to run with WCRUN and/or via the WEB:

    via DOS cmd: wcrun -r xxxxxx.wcx
    via WEB url: /code/xxxxxx.wcx

When running via the WEB, if XXXXXX.WCX file is renamed to HTML-XXXXXX.WCX, then wcWEB will allow this to run without checking the wcx access files.  If the wcx file name doe not have a HTML- prefix, then wcWEB will  check the wcx access files for run access. If not allowed, the expected 404 HTTP error is returned.

To allow run access, simply add the following line to your data\wcxaccess-custom.lst file:


Advanced WCX access rules:

The WCXACCESS.LST files offers some advanced access rules or commands to control WCX access based on variables parameters.

By default, when the WCX file name is not found, the result is DENY access and this is checked for everyone.

With no access rules, if the WCX file name is found, the result is ALLOW ALL. You can use the following $ALLOW or $REQUIRE commands to lock down WCX access to specific users, security level, IP address or other parameters.

See the AUP Help for complete WCBASIC WCX ACCESS documentation.

WCMAIL (Wildcat! Mail Processor)

- ENH: Updated to support new CRC32 message duplication checking implemented in 452.3.

WCLISTSERVE (Wildcat! List Server)

* FIX: UUCP vs SMTP RFC x822 header format.

When using the UUCP transport, some headers were now using the correct list admin email address.  This was fixed for UUCP transports.

WCBASIC (Wildcat! BASIC Software Dvelopment Kit)

- FIX: Fixed GetParamStr() function in HTMLUTIL.WCX.

Fixed bug introduced in AUP 452.3 in regards to HTML form input fields that contain the "&" character.

- NEW: New random number generator functions were added:

- FIX:  Fixed PRINT command parser to support multi-statement colon lines.


Randomize() helps seeds the RND() function. It should be called in the beginning of WCX and only need to be called once. The seed parameter is optional. If no seed is pass, one is created automatically using the current system ticks count.


    Randomize() /* Seed Randomizer */
    print "random number 1 to 52: "; rnd()*52+1


GetRandom() helps get a random number between two numbers min and max.


    Randomize() /* Seed Randomizer */
    print "random number 1 to 52
: "; GetRandom(1,52)


Randomize() was added because it was missing from the WCBASIC language. It is common command in BASIC. It wasn't necessary to have as the RND() could be used to initialize the seed and random number generator.  The following would be the default equivalent to calling Randomize():


3rd party developers may wish to use one or both depending on their target version of Wildcat!

 See wcBASIC/WCSDK Update Information.

WCSDK (Wildcat! Software Development Kit)

- See wcBASIC/WCSDK Update Information.

WCT (Wildcat Template Processor)

- See Wildcat Template System.