File tree Expand file tree Collapse file tree 6 files changed +2
-46
lines changed
AdminNotification/Block/Grid/Renderer
Newsletter/view/adminhtml/templates/preview Expand file tree Collapse file tree 6 files changed +2
-46
lines changed Original file line number Diff line number Diff line change 364
364
Require all denied
365
365
</IfVersion >
366
366
</Files >
367
- <Files .user.ini >
368
- <IfVersion < 2.4 >
369
- order allow,deny
370
- deny from all
371
- </IfVersion >
372
- <IfVersion >= 2.4 >
373
- Require all denied
374
- </IfVersion >
375
- </Files >
376
367
377
368
# For 404s and 403s that aren't handled by the application, show plain 404 response
378
369
ErrorDocument 404 /pub/errors/404 .php
Original file line number Diff line number Diff line change 341
341
Require all denied
342
342
</IfVersion>
343
343
</Files>
344
- <Files .user.ini>
345
- <IfVersion < 2.4>
346
- order allow,deny
347
- deny from all
348
- </IfVersion>
349
- <IfVersion >= 2.4>
350
- Require all denied
351
- </IfVersion>
352
- </Files>
353
344
354
345
# For 404s and 403s that aren't handled by the application, show plain 404 response
355
346
ErrorDocument 404 /pub/errors/404.php
Original file line number Diff line number Diff line change 8
8
9
9
namespace Magento \AdminNotification \Block \Grid \Renderer ;
10
10
11
- /**
12
- * Renderer class for action in the admin notifications grid
13
- */
14
11
class Actions extends \Magento \Backend \Block \Widget \Grid \Column \Renderer \AbstractRenderer
15
12
{
16
13
/**
@@ -40,8 +37,7 @@ public function __construct(
40
37
*/
41
38
public function render (\Magento \Framework \DataObject $ row )
42
39
{
43
- $ readDetailsHtml = $ row ->getUrl () ? '<a class="action-details" target="_blank" href=" ' .
44
- $ this ->escapeUrl ($ row ->getUrl ()) . '"> ' .
40
+ $ readDetailsHtml = $ row ->getUrl () ? '<a class="action-details" target="_blank" href=" ' . $ row ->getUrl () . '"> ' .
45
41
__ ('Read Details ' ) . '</a> ' : '' ;
46
42
47
43
$ markAsReadHtml = !$ row ->getIsRead () ? '<a class="action-mark" href=" ' . $ this ->getUrl (
Original file line number Diff line number Diff line change 16
16
</div>
17
17
<?php endif ;?>
18
18
</div>
19
- <iframe
20
- name="preview_iframe"
21
- id="preview_iframe"
22
- frameborder="0"
23
- title="<?= $ block ->escapeHtmlAttr (__ ('Preview ' )) ?> "
24
- width="100%"
25
- sandbox="allow-forms allow-pointer-lock allow-scripts">
26
- </iframe>
19
+ <iframe name="preview_iframe" id="preview_iframe" frameborder="0" title="<?= $ block ->escapeHtmlAttr (__ ('Preview ' )) ?> " width="100%"></iframe>
27
20
<?= $ block ->getChildHtml ('preview_form ' ) ?>
28
21
</div>
29
22
Original file line number Diff line number Diff line change @@ -33,11 +33,6 @@ charset UTF-8;
33
33
error_page 404 403 = /errors/404.php;
34
34
#add_header "X-UA-Compatible" "IE=Edge";
35
35
36
- # Deny access to sensitive files
37
- location /.user.ini {
38
- deny all;
39
- }
40
-
41
36
# PHP entry point for setup application
42
37
location ~* ^/setup($|/) {
43
38
root $MAGE_ROOT;
Original file line number Diff line number Diff line change @@ -220,16 +220,6 @@ ErrorDocument 403 /errors/404.php
220
220
Require all denied
221
221
</IfVersion >
222
222
</Files >
223
- ## Deny access to .user.ini##
224
- <Files .user.ini >
225
- <IfVersion < 2.4 >
226
- order allow,deny
227
- deny from all
228
- </IfVersion >
229
- <IfVersion >= 2.4 >
230
- Require all denied
231
- </IfVersion >
232
- </Files >
233
223
234
224
<IfModule mod_headers.c >
235
225
############################################
You can’t perform that action at this time.
0 commit comments