News
Miva Empresa/Mia/Script Compiler v5.31 Release Notes
Posted by Wayne Smith on 08 March 2018 10:10 AM

New Builtin Functions

miva_joinstring( input var, join_with, flags )

  • If the "input" parameter is a string, then a string is returned alongside any modifications made via the "flags" parameter.
  • If the "input" parameter is an array, then a string is returned with each array element's value separated by the "join_with" parameter along with any modifications made via the "flags” parameter"
  • If the "input" parameter is a structure, an empty string is returned.

Parameters:

  • input - The input variable
  • join_with - The string that will seperate array elements
  • flags - A comma separated list of any of the following:
  • escape - Escapes the join_with characters if the join_with characters exists in the element's value.
  • insensitive - When combined with the escape flag, it will search for the join_with characters in an insensitive fashion.

Return Value:

  • The joined string

 

Other

miva_splitstring

  • Added flag "escaped" which will cause the function to not split on the separator character if the seperator character is escaped.

 

Bugs Fixed

25940: crypto_base64_decode should not require padded "=" in order to successfully decode

26092: The compiler outputs an invalid engine version for every command line parameter

26134: Output::Write_Compressed_Full can read past the end of the buffer

26186: FunctionManager::Read should validate all values read from the binary

26188: Dictionary::Read should validate all values read from the binary

26189: VariableHash::Read should validate all values read from the binary

26190: LocalizedIndex::Read should validate all values read from the binary

26191: LocalizedDictionary::Read should validate all values read from the binary

26192: SegmentManager::Read should validate all values read from the binary

26193: TaggedFile::Header_Read should validate all values read from the binary

26194: TaggedFile::Directory_Read should validate all values read from the binary

26204: config3x_setconfigvalue leaks memory 26216: TaggedFile::Section_End doesn't grow directory entries properly

26221: LocalizedLanguages::Read should validate all values read from the binary

26310: MivaVM::localize / MivaVM::localizev need to ensure the dictionary is loaded


Help Desk Software by Kayako support.miva.com/supportsuite/index.php?