Details
Description
Refer to SHINDIG-175.
The problem is patched in the Java version, but not PHP.
Sample gadget:
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Hello" description="An example of a simple gadget" author="JDM" />
<UserPref name="firstname" display_name="Your name" datatype="string" default_value="stranger" />
<Content type="html">
<![CDATA[
Hello, <span id="placeholder">name goes here</span>!
<script type="text/javascript">
var prefs = new gadgets.Prefs();
var name = prefs.getString("firstname");
document.getElementById("placeholder").innerHTML = name;
</script>
]]>
</Content>
</Module>
Displays "Hello, Unable to render embedded object: File (" when it should display "Hello, stranger) not found."