Skip to content
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
@kipph

Description

@kipph

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions