mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-01-22 23:40:39 +01:00
Identify correct charset if its in quotation mark
This commit is contained in:
parent
cde7cd6bbd
commit
2840cd6d1b
@ -57,7 +57,7 @@ manipulateDOM._removeCrossOriginAndIntegrityAttr = function (details) {
|
||||
|
||||
asciiDecoder = new TextDecoder('ASCII');
|
||||
encoder = new TextEncoder();
|
||||
charset = /charset\s*=/.test(header.value) && header.value.replace(/^.*?charset\s*=\s*/, '');
|
||||
charset = /charset\s*=/.test(header.value) && header.value.replace(/^.*?charset\s*=\s*/, '').replace(/["']?/g, '');
|
||||
isFirstData = true;
|
||||
filter = browser.webRequest.filterResponseData(details.requestId);
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "LocalCDN (fork from Decentraleyes)",
|
||||
"version": "2.2.2",
|
||||
"version": "2.2.3",
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "{b86e4813-687a-43e6-ab65-0bde4ab75758}",
|
||||
|
@ -21,10 +21,10 @@
|
||||
<div class="subtle-hint">
|
||||
<div class="topic-label">
|
||||
New in LocalCDN:
|
||||
<ul>
|
||||
<li>Addition to the encoding problem (<a href="https://gitlab.com/nobody42/localcdn/-/issues/75">#75</a>)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<ul>
|
||||
<li>Fixed: Identify correct charset if its in quotation marks</li>
|
||||
</ul>
|
||||
|
||||
<div class="topic-label">
|
||||
Please update your uBlock/uMatrix rules
|
||||
@ -41,6 +41,10 @@
|
||||
<input id="button-copy-rule-set" type="button" value="Copy">
|
||||
<hr/>
|
||||
<h2>History</h2>
|
||||
<p class='release-date'>2020-05-21 (v2.2.2)</p>
|
||||
<ul>
|
||||
<li>Addition to the encoding problem (<a href="https://gitlab.com/nobody42/localcdn/-/issues/75">#75</a>)</li>
|
||||
</ul>
|
||||
<p class='release-date'>2020-05-16 (v2.2.1)</p>
|
||||
<ul>
|
||||
<li>Fixed: Encoding problem with some websites (maybe only temporary, because at the moment only 9 websites are affected) (<a href="https://gitlab.com/nobody42/localcdn/-/issues/75">#75</a>)</li>
|
||||
|
Loading…
Reference in New Issue
Block a user