Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8521169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:44:38+00:00 2026-06-11T06:44:38+00:00

We have a PHP site on Zend Framework with a backend Postgresql database. Our

  • 0

We have a PHP site on Zend Framework with a backend Postgresql database. Our primary character encoding is UTF-8.

I just checked our error log and found a strange entry. My URL is as follows:
http://www.mydomain.com/schuhe-für-breite-füsse

however someone (or maybe a bot) has tried to access this URL as follows:
http://www.mydomain.com/schuhe-f\xc3\xbcr-breite-f\xc3\xbcsse/

It’s the first time I’ve seen something like the above. Two things are happening on my page:
1) The above URL is queried against our CMS. This works fine for some reason, I think Postgresql reaslises it is byte-encoded and then converts it back when tried to find this SEF URL in our database.

2) An Ajax request is made on the page, passing the same SEF URL. This fails. I believe the slashes are causing a problem on Javascript.

To avoid this I want to decode any URL that is encoded like this. However a quick test of the following code did not decode anything for me 🙁

$landing_sef_url = $this->_getParam('landing_sef_url');
$utf8=html_entity_decode($landing_sef_url);
$iso8859=utf8_decode($utf8);
$test3 = html_entity_decode($landing_sef_url, 1, "ISO-8859-1");
$test4 = urldecode($landing_sef_url);

echo utf8_decode("$landing_sef_url");
echo "<br/><br/>";
die($landing_sef_url . " -- $utf8 -- $iso8859 <br/>$test3<br/>$test4");

I found the above via various posts online but they all print back the same result – schuhe-f\xc3\xbcr-breite-f\xc3\xbcsse

Any help would be MUCH appreciated. Many thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:44:39+00:00Added an answer on June 11, 2026 at 6:44 am

    This method seems to do what you’re looking for:

    http://li.php.net/manual/en/function.stripcslashes.php

    But if you’re just looking to unescape \x## sequences, you could also do this with a fairly simple regular expression.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All, I have a PHP website written in Zend Framework and MVC. Most of
I have one module (site) in my zend framework app. What I am trying
I have a website built on Zend Framework. I want to run the site
I have a PHP web site with data stored in a MySql database. (approximately
I'm building a paid membership site in php using the Zend Framework. I need
I am creating a web site using php, mysql and zend framework. When I
The Zend Framework based site I have been working on is now being migrated
I have a Zend Framework site in this dir /var/www/example.com/ and put the WP
I have a simple Zend Framework site I am developing with the addition that
I have a PHP site that uses a fairly common authentication scheme. The entire

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.