Skip to main content

htmlspecialchars() bug in blogger.com

Found a strange htmlspecialchars() bug in blogger.com

The title of my blog is <?php echo 'R. Rajesh Jeba Anbiah'; ?>, but blogger.com doesn't convert the html entities in the title when it spits out. Because of this bug, the title doesn't appear in my blog--browser just treats it as a broken html tag. This bug could have been fixed by using
htmlspecialchars(), if it's powered by PHP.

Also, noticed that this compose box eats any texts entered such.

I gonna report this bug.

Comments

Yes, lawrence krubner. They may be stripping html tags. But, the compose box is really buggy. If you switch between "Edit HTML", "Compose" and "Preview", sometimes some of your texts will vanish suddenly.

This htmlspecialchars() bug appears only in blog tittle/header; in all other places they're converting it to proper html entities.

Popular posts from this blog

Solved: "Ports" Tab Not Visible in VS Code (WSL2)

None of the solutions I found on Reddit or GitHub worked, and most of the related GitHub issues were locked. So I'm documenting this here for future reference. Problem When using WSL2 in Visual Studio Code, the Ports tab—needed to access your application in Windows browsers like Chrome or Edge—doesn't appear. Even the Ports-related options are missing from the Command Palette. Solution After a lot of trial and error, here's what worked: Run npx serve in the VS Code terminal. It will output a URL such as http://localhost:3000/ . Click the link (or use the Follow Link option). This will open the app in your default browser. You may notice that it opens on a different port (for example, http://localhost:64198 ). At this point, the Ports tab becomes available in VS Code. After this initial trigger, the Ports tab seems to remain available in future VS Code...

Update[1]: Zend PHP Certification – Economic Indian Price

As I blogged earlier , the Zend PHP Certification price is too high to afford in India and I contacted Daniel Kushner, Director of Education Zend Technologies Ltd. Recently Daniel Kushner and Idan Zuckerman (Zend) informed me that they're working with Pearson to fix the Indian price. In the meantime they said that they could offer me a voucher for 120 USD (original price is 200 USD). Though now I can afford to 120 USD, it is still high (MCP costs only 50 USD) for any Indian PHP guys. Anyway, I think it's a great improvement and I really applaud their efforts. I have planned to get the voucher after 1-month time though it has 6-month validity—as I have to prepare for the exam first. I have also been asked to refer friends and colleagues for this 120 USD offer. If you want to avail this offer, please buzz me (only India based PHP guys).

I'm Zend (PHP 5) Certified Engineer:-)

As of January 13, 2007, I'm ZCE/ Zend Certified Engineer (PHP 5)