libkiwix/static
Veloman Yunkan f3d2f474a7 Handling of suggestions containing special symbols
This change fixes two issues:

1. Presence of URL-specific special symbols (such as ? or #) in the book
   and/or article name resulted in a wrong suggestion link. This is
   fixed by URI-encoding the book name and the path, too.

2. Presence of a single quote symbol in the book and/or article name
   resulted in invalid javascript code in the href attribute of the
   suggestion link.

   The single quote (') symbol is not URL-encoded (unlike its double quote
   counterpart). As a result, enclosing a URL-encoded string in single
   quotes may result in invalid javascript. Using double quotes instead is
   safe, since both double quote (") and backslash (\) symbols (which are
   the only special symbols for such quoting) undergo URL-encoding.
2022-12-17 18:39:17 +04:00
..
i18n Localisation updates from https://translatewiki.net. 2022-11-30 14:50:14 +01:00
skin Handling of suggestions containing special symbols 2022-12-17 18:39:17 +04:00
templates Fixed URLs to static resources without cacheids 2022-10-19 19:26:04 +04:00
catalog_v2_searchdescription.xml /catalog/v2/searchdescription.xml 2021-06-08 20:37:00 +04:00
ft_opensearchdescription.xml Add searchdescription.xml endpoint 2022-06-03 15:46:41 +02:00
generate_i18n_resources_list.py Add a script to generate the i18n resource list automatically. 2022-05-16 14:27:48 +02:00
i18n_resources_list.txt Introduced a fake language for i18n testing 2022-11-26 11:58:27 +04:00
meson.build Error if run_command() fails, remove meson warning 2022-12-08 13:03:33 +01:00
navigation_feed.tmpl Introduce the server functionality in the kiwix-lib. 2019-08-11 11:30:43 +02:00
opensearchdescription.xml Root url is normalized once in the constructor 2021-06-08 20:37:00 +04:00
resources_list.txt Removed unused resource skin/css/images/search.svg 2022-10-19 19:27:21 +04:00
viewer.html Fixed URLs to static resources without cacheids 2022-10-19 19:26:04 +04:00