Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1-beta-1
-
Component/s: Web interface
-
Labels:None
-
Complexity:Novice
-
Number of attachments :
Description
Currently the output is included verbatim, which means that the browser will try to parse any XML that's in the build output. See the attached snapshot versus the actual output:
– SNIP –
<featureMember typeName="View of GAB Adresse">
<Feature identifier="swrefVrecordVdatasetZaddressVcollectionZne_adresseVkeysZ158428" typeName="View of GAB Adresse">
<property type="string" typeName="thc_world_name">Norge</property>
<property type="integer" typeName="kadranr">158428</property>
<property type="integer" typeName="kkomnr">219</property>
<property type="string" typeName="kommunenavn">Bærum</property>
<property type="string" typeName="kgatanvn">KYRRES VEI</property>
<property type="integer" typeName="kadrnr">19</property>
<property type="string" typeName="kadrunr">C</property>
<property type="integer" typeName="kadruunr"/>
<property type="string" typeName="kposnr">1369</property>
<property type="string" typeName="postnavn">STABEKK</property>
<geometricProperty typeName="posisjon">
<Point ID="swrefVgeometryVdatasetZaddressVcollectionZne_adresseVfieldZposisjonVlocalZTrueVkeysZ536885020X662636086X690767" swldy:world="swrefVworldVdatasetZaddressVuniverseZ2VworldZ0">
<coordinates>-409769860,-357023026 </coordinates>
</Point>
</geometricProperty>
<geometricProperty typeName="annotation">
<Annotation ID="swrefVgeometryVdatasetZaddressVcollectionZne_adresseVfieldZannotationVlocalZTrueVkeysZ536885020X662636069X690770" swldy:world="swrefVworldVdatasetZaddressVuniverseZ2VworldZ0">
<coordinates>-409769860,-357022026 </coordinates>
<string>19C</string>
<orientation>0.000000</orientation>
<justification>22</justification>
<font_orientation/>
<height>1.000000</height>
</Annotation>
</geometricProperty>
<swldy:DisplayContextProperty typeName="display_context">
<Feature typeName="display_context"/>
</swldy:DisplayContextProperty>
<swldy:associatedDocumentsProperty typeName="associatedDocuments">
<Document/>
– SNIP –
Attachments
Issue Links
| This issue is duplicated by: | ||||
| CONTINUUM-679 | Insecure html in build output leads to bad html rendering - could be used for malicious cross-site scripting. |
|
|
|
| CONTINUUM-817 | The generated output in the Working Copy page displays the wrong content |
|
|
|
| CONTINUUM-673 | html is not escaped properly in build output |
|
|
|
Used commons-lang for easy html output escaping