Hello community,

here is the log from the commit of package kapidox for openSUSE:Factory checked 
in at 2017-08-14 12:40:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kapidox (Old)
 and      /work/SRC/openSUSE:Factory/.kapidox.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kapidox"

Mon Aug 14 12:40:55 2017 rev:43 rq:516656 version:5.37.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kapidox/kapidox.changes  2017-07-17 
09:09:20.223327540 +0200
+++ /work/SRC/openSUSE:Factory/.kapidox.new/kapidox.changes     2017-08-14 
12:40:59.227852482 +0200
@@ -1,0 +2,10 @@
+Sat Aug 12 09:23:16 UTC 2017 - [email protected]
+
+- Update to 5.37.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.37.0.php
+- Changes since 5.36.0 :
+  * Escape HTML from search query
+
+-------------------------------------------------------------------

Old:
----
  kapidox-5.36.0.tar.xz

New:
----
  kapidox-5.37.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kapidox.spec ++++++
--- /var/tmp/diff_new_pack.rNSQki/_old  2017-08-14 12:40:59.987745770 +0200
+++ /var/tmp/diff_new_pack.rNSQki/_new  2017-08-14 12:40:59.999744085 +0200
@@ -16,9 +16,9 @@
 #
 
 
-%define _tar_path 5.36
+%define _tar_path 5.37
 Name:           kapidox
-Version:        5.36.0
+Version:        5.37.0
 Release:        0
 Requires:       doxygen
 BuildRequires:  fdupes

++++++ kapidox-5.36.0.tar.xz -> kapidox-5.37.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kapidox-5.36.0/setup.py new/kapidox-5.37.0/setup.py
--- old/kapidox-5.36.0/setup.py 2017-06-10 11:32:34.000000000 +0200
+++ new/kapidox-5.37.0/setup.py 2017-07-30 12:40:00.000000000 +0200
@@ -6,7 +6,7 @@
 
 setup(
         name='kapidox',
-        version='5.36.0',
+        version='5.37.0',
         description='KDE API documentation generation tools',
         maintainer = 'Olivier Churlaud',
         maintainer_email = '[email protected]',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kapidox-5.36.0/src/kapidox/data/htmlresource/js/search.js 
new/kapidox-5.37.0/src/kapidox/data/htmlresource/js/search.js
--- old/kapidox-5.36.0/src/kapidox/data/htmlresource/js/search.js       
2017-06-10 11:32:34.000000000 +0200
+++ new/kapidox-5.37.0/src/kapidox/data/htmlresource/js/search.js       
2017-07-30 12:40:00.000000000 +0200
@@ -1,3 +1,20 @@
+var entityMap = {
+  '&': '&',
+  '<': '&lt;',
+  '>': '&gt;',
+  '"': '&quot;',
+  "'": '&#39;',
+  '/': '&#x2F;',
+  '`': '&#x60;',
+  '=': '&#x3D;'
+};
+
+function escapeHtml (string) {
+  return String(string).replace(/[&<>"'`=\/]/g, function (s) {
+    return entityMap[s];
+  });
+}
+
 function GetURLParameter(sParam)
 {
     var sPageURL = window.location.search.substring(1);
@@ -6,7 +23,7 @@
     for (var i = 0; i < sURLVariables.length; i++) {
         var sParameterName = sURLVariables[i].split('=');
         if (sParameterName[0] == sParam) {
-            return decodeURIComponent(sParameterName[1]);
+            return escapeHtml(decodeURIComponent(sParameterName[1]));
         }
     }
     return ""


Reply via email to