Patent ID: 9219742
Filing Date: 2015-12-22
Classification: G06F,H04L

Abstract:
1. A method in a data processing system for transforming user input data in a scripting language, the method comprising: tracing, by an interpreter module in a web server executing within the data processing system, a script instruction to separate instruction related variables and user-input related variables; encoding by the interpreter module, user-input related variables in the instruction into data belonging to a safe-character-set area not including reserved characters of the scripting language, and passing the encoded user-input related variables to a statement of the script instruction to form an encoded script instruction; and providing, by the web server the encoded script instruction to a script server; wherein the script server retrieves all text tokens in the encoded script instruction, checks and determines whether each text token is encoded, decodes each encoded text token and returns a decoded text token in response to an affirmative determination, returns any unencoded text tokens in response to a negative determination, creates a syntax tree of the instruction based on the returned text tokens, and executes the syntax tree of the instruction.