System and method for automatically inserting correct escaping functions for field references in a multi-tenant computing environment
First Claim
1. A method of inserting escaping functions into field references by a virtual application on an application platform, the method comprising:
- providing, by the virtual application on the application platform, a first translation module and a second translation module;
identifying, by the virtual application on the application platform, a first field reference having a first encoding scheme;
identifying, by the virtual application on the application platform, a second field reference having a second encoding scheme different from the first encoding scheme;
inserting, by the virtual application on the application platform, a first escaping function into the first field reference to produce a first edited field reference using the first translation module;
inserting, by the virtual application on the application platform, a second escaping function into the second field reference to produce a second edited field reference using the second translation module;
presenting the first edited field reference and the second edited field reference to a user for acceptance; and
saving, upon acceptance by the user, the first edited field reference and the second edited field reference.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and systems are provided for automatically correcting escaping functions in a module of page rendering code. The method includes: providing an HTML escaping schema and a script escaping schema; identifying a first character sequence having a first escaping function; determining whether the first character sequence is coded in HTML or coded as a scripted element; correcting the first escaping function using the HTML escaping schema if the first character sequence is coded in HTML; and correcting the first escaping function using the script escaping schema if the first character sequence is coded as a scripted element.
128 Citations
15 Claims
-
1. A method of inserting escaping functions into field references by a virtual application on an application platform, the method comprising:
-
providing, by the virtual application on the application platform, a first translation module and a second translation module; identifying, by the virtual application on the application platform, a first field reference having a first encoding scheme; identifying, by the virtual application on the application platform, a second field reference having a second encoding scheme different from the first encoding scheme; inserting, by the virtual application on the application platform, a first escaping function into the first field reference to produce a first edited field reference using the first translation module; inserting, by the virtual application on the application platform, a second escaping function into the second field reference to produce a second edited field reference using the second translation module; presenting the first edited field reference and the second edited field reference to a user for acceptance; and saving, upon acceptance by the user, the first edited field reference and the second edited field reference. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
Specification