- WordPress 6.6.2
- PHP 8.1.29
- BlogText 0.9.10
Steps to reproduce
-
Begin a new post
-
Add the text:
file:///C:/Program%20Files
- Click "preview" on the right-hand side
A new tab opens, with the message:
403
Forbidden
Access to this resource on the server is denied!
Workaround 1
Replace the colon character : with the Unicode character U+A789 ꞉
Workaround 2
I've seen the above colon replacement not work with this example:
Location: jar:file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/browser/omni.ja!/chrome/browser/content/browser/aboutNetError.xhtml
=>
Location: jar:file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/browser/omni.ja!/chrome/browser/content/browser/aboutNetError.xhtml
The solution in this case was replacing the first occurrence of the percent character % with the Unicode character U+FF05 %
Notes
- This precise message is likely produced by my hosting and could be different for others.
- Other versions of BlogText have not been tested
Steps to reproduce
Begin a new post
Add the text:
A new tab opens, with the message:
Workaround 1
Replace the colon character
:with the Unicode character U+A789꞉Workaround 2
I've seen the above colon replacement not work with this example:
The solution in this case was replacing the first occurrence of the percent character
%with the Unicode character U+FF05%Notes