Soeren.oldag has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/216405

Change subject: Serialization of entity ids is now escaped correctly.
......................................................................

Serialization of entity ids is now escaped correctly.

Bug: T101308
Change-Id: I13f92c9ebece2127cdd82fc90be3d0b0676f90b9
---
M specials/SpecialConstraintReport.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikidataQualityConstraints
 refs/changes/05/216405/1

diff --git a/specials/SpecialConstraintReport.php 
b/specials/SpecialConstraintReport.php
index eee46b3..476aa79 100755
--- a/specials/SpecialConstraintReport.php
+++ b/specials/SpecialConstraintReport.php
@@ -419,7 +419,7 @@
        protected function buildResultHeader( EntityId $entityId ) {
                $entityLink = sprintf( '%s (%s)',
                                                           
$this->entityIdHtmlLinkFormatter->formatEntityId( $entityId ),
-                                                          
$entityId->getSerialization() );
+                                                          htmlspecialchars( 
$entityId->getSerialization() ) );
 
                return
                        Html::openElement( 'h3' )

-- 
To view, visit https://gerrit.wikimedia.org/r/216405
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I13f92c9ebece2127cdd82fc90be3d0b0676f90b9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikidataQualityConstraints
Gerrit-Branch: v1
Gerrit-Owner: Soeren.oldag <soeren_ol...@freenet.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to