This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
1.3.2 and 1.4 alpha jquery.mobile js forward slash needs escaping #6495
Closed
Description
Line 1482 of jquery.mobile-1.3.2.js is:
domain && iframe_doc.write( '<script>document.domain="' + domain + '"</script>' );
I saw this when embedding the file directly in a PHP script with a require() statement - everything after the '</script>' gets output to the screen. Fixed by escaping the forward slash:
domain && iframe_doc.write( '<script>document.domain="' + domain + '"<//script>' );
This same code is in 1.4.0 alpha 2.