View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001235 | bareos-core | webui | public | 2020-04-26 18:43 | 2021-11-18 09:50 |
Reporter | kabassanov | Assigned To | frank | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Debian | OS Version | 9 |
Product Version | 19.2.7 | ||||
Summary | 0001235: Special characters not escaped in translations | ||||
Description | Hi, I observed erros in in some (at least one ) webpages generation, in presence of special characters in translation strings. Here is an example: module/Media/view/media/media/details.phtml: html.push('<th><?php echo $this->translate("Volume writes"); ?></th>'); with French translation containing ' . I customized translations a little bit, so I'm not sure the original translation of this one had this character, but it is a general issue. Thanks. | ||||
Steps To Reproduce | Just take a translation containing an apostrophe and observe that webpage is not completely displayed. In debug window you'll see: html.push('<th>Nombre d'écritures sur le volume</th>'); where the apostrophe in "Nombre d'écritures" will be considered as push string end character. | ||||
Tags | No tags attached. | ||||
has duplicate | 0001401 | resolved | bruno-at-bareos | No data display on /bareos-webui/media/details/_volume_name_ for french translation |
related to | 0001384 | closed | arogge_adm | Release Bareos 19.2.11 |
related to | 0001361 | closed | arogge | Release Bareos 20.0.3 |
bareos: bareos-19.2 3a563720 2021-07-13 11:51 Committer: frank Ported: N/A Details Diff |
webui: quote strings with slashes in media details view (cherry picked from commit a3fd053f40760d175ca1d9dcfc8a352fc9bef6b8) Fixes 0001235: Special characters not escaped in translations |
Affected Issues 0001235 |
|
mod - webui/module/Media/view/media/media/details.phtml | Diff File | ||
bareos: bareos-19.2 680c9e74 2021-07-15 12:13 Committer: frank Ported: N/A Details Diff |
webui: quote strings with slashes in dashboards index view Strings coming from "translate" function can contain apostrophes that need to be escaped. (cherry picked from commit 3c3e2272eb6a64235c801fde003ce3c18d05e4a6) Fixes 0001235: Special characters not escaped in translations |
Affected Issues 0001235 |
|
mod - webui/module/Dashboard/view/dashboard/dashboard/index.phtml | Diff File | ||
bareos: bareos-19.2 d29b16dc 2021-07-15 12:31 Committer: frank Ported: N/A Details Diff |
webui: quote strings with slashes in job index and details view Strings coming from "translate" function can contain apostrophes that need to be escaped. (cherry picked from commit d72df730e8229b6c849eefac83f329fe204e71db) Fixes 0001235: Special characters not escaped in translations |
Affected Issues 0001235 |
|
mod - webui/module/Job/view/job/job/details.phtml | Diff File | ||
mod - webui/module/Job/view/job/job/index.phtml | Diff File | ||
bareos: bareos-19.2 77ae1e6a 2021-07-15 12:48 Committer: frank Ported: N/A Details Diff |
webui: quote strings with slashes in pool details view Strings coming from "translate" function can contain apostrophes that need to be escaped. (cherry picked from commit 344a272f57666d94060eee24ae321d65540b3553) Fixes 0001235: Special characters not escaped in translations |
Affected Issues 0001235 |
|
mod - webui/module/Pool/view/pool/pool/details.phtml | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-04-26 18:43 | kabassanov | New Issue | |
2021-04-29 10:49 | frank | Assigned To | => frank |
2021-04-29 10:49 | frank | Status | new => assigned |
2021-07-15 17:31 | frank | Status | assigned => confirmed |
2021-08-10 11:22 | frank | Changeset attached | => bareos bareos-19.2 3a563720 |
2021-08-10 11:22 | frank | Changeset attached | => bareos bareos-19.2 680c9e74 |
2021-08-10 11:22 | frank | Changeset attached | => bareos bareos-19.2 d29b16dc |
2021-08-10 11:22 | frank | Changeset attached | => bareos bareos-19.2 77ae1e6a |
2021-08-10 11:22 | frank | Note Added: 0004208 | |
2021-08-10 11:22 | frank | Status | confirmed => resolved |
2021-08-10 11:22 | frank | Resolution | open => fixed |
2021-09-14 10:53 | arogge_adm | Relationship added | related to 0001384 |
2021-09-14 12:19 | arogge_adm | Relationship added | related to 0001361 |
2021-11-18 09:50 | bruno-at-bareos | Relationship added | has duplicate 0001401 |