-
Posts
926 -
Joined
-
Last visited
-
Days Won
1
Everything posted by PWaddict
-
On both installations I'm getting these: "Test_.png" (9) "test_a.png" (10)
-
I didn't noticed a specific pattern. On both installations I'm getting the same results: dirname => "." basename => ""Test ä".png" (13) extension => "png" (3) filename => ""Test ä"" (9)
-
On the fresh PW installation sometimes doesn't work. I have to reload Apache on Laragon to get proper result on: d($pageFiles->cleanBasename($filename, false, true, true));
-
-
After I replace that code on Sanitizer.php what code should I input on Tracy console?
-
Yes I have hooks but those same hooks are on live server too. Btw I switched from XAMPP to Laragon (I wanted to do that for quite some time) and the problem remains. I will try later with a fresh install. Here it is:
-
-
Could be the problem caused by Windows? I have the same installation on localhost (Windows) and on live server (Linux). Have you tried on localhost (Windows)?
-
No. I'm not sure how to test it.
-
I've installed TracyDebugger on live server and the results from the above code are the same as yours. The problem is happening only on localhost (XAMPP).
-
-
It's not the same. On the 2nd command the result for you is test_a.png and for me test.png.
-
-
yep
-
On the regular field I'm using {$page->title}_{$file->mtime} + "Rename on Save". On the repeater field I'm using {$filePage->my_text_field}_{$file->mtime} + "Rename on Save". On the field value I tested with various combinations like: "Test щ" or "Test ä" but doesn't matter cause none of them are working,
-
3.0.122
-
@ryan You should update the version of InputfieldAsmSelect.module to 122 to enable cache busting on jquery.asmselect.css so everyone can view the new change you did about: .asmOptionDisabled { color: #999 !important; }
-
It ignores the "Character replacements" from the InputfieldPageName module and on repeaters it replaces "Character replacements" and HTML entities with underscores. Please remove that update. The 1.2.2 version does the job perfect.
-
Can you completely remove the HTML entities? For example if on the text field I write: "Test" then the file will be renamed to: quot-test-quot.jpg instead of test.jpg.
-
[SOLVED] 403 error if textarea has iframe tag
PWaddict replied to PWaddict's topic in General Support
The hosting company excluded the rule #340147 from ModSecurity and the problem is gone. -
[SOLVED] 403 error if textarea has iframe tag
PWaddict replied to PWaddict's topic in General Support
Yes it works. Btw I've just entered the <iframe> tag on another textarea and it gets saved! I will check tomorrow why is this happening. -
[SOLVED] 403 error if textarea has iframe tag
PWaddict replied to PWaddict's topic in General Support
It isn't possible cause the map url & iframe link has some encoded values such as the unique place id which isn't possible to get without an API key. -
[SOLVED] 403 error if textarea has iframe tag
PWaddict replied to PWaddict's topic in General Support
I've tested this and It isn't accurate at all. For a proper map with 100% accurate results and without an API key the embed one is the ONLY option. -
[SOLVED] 403 error if textarea has iframe tag
PWaddict replied to PWaddict's topic in General Support
I don't know cause I'm using the analytics.js. Btw I tested a youtube iframe embed code and still same problem. I've even tested adding just this: <iframe> and still same problem. ModSecurity doesn't like the iframe tag when you post a form. -
If I add html code (iframe) from Google Maps in a textarea field and try to save the page I will get a 403 error and the page will not get saved. Once I disabled Mod Security from cPanel and waited few minutes then I could save the iframe on pages without problems. Is there another way to solve this without disabling Mod Security?