Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

html escape tricky case, any you have?

Hi there;

I am trying to test html escape in my code. Is there any you can provide me? Tricky ones would be appreciated.

No SQL injection code is necessary.

Regards.
0
jazzIIIlove
Asked:
jazzIIIlove
  • 5
  • 3
  • 2
1 Solution
 
COBOLdinosaurCommented:
It is not very clear what you are asking for.  If you need url rncoding the information is at:
http://www.w3schools.com/tags/ref_urlencode.asp

If you are looking for the HTML entities codes they are here:
http://www.theukwebdesigncompany.com/articles/entity-escape-characters.php

If itis something else you are looking for, then you will need to provide more detail.

Cd&
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
take a look here:

http://text-symbols.com/html/

if you can convert all of these you should be good to go
0
 
jazzIIIloveAuthor Commented:
Actually, what I want is to test my code against html escape. Any ways?

Regards.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
i'm not sure I understand then...

Do you want to take a string of non standard characters and escape them? if so, just copy and paste some from the link I sent
0
 
jazzIIIloveAuthor Commented:
I want an example of a html line(s) having those but in a tricky way that cause to fail in my code.

Regards.
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
thats what I thought. since thats the case, just create some dummy html, add some of those characters in a div or span or p tag, and see if it works properly
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
not sure if this'll come across or if EE's editor will escape it

example:
<p>æ</p>
<span>¿</span>
<div>©</div>

Open in new window

0
 
COBOLdinosaurCommented:
@jazzIIIlove,

Is there some point to this; or you just got bored and thought you would post a time waster?

Instead of going in circles with "tricky" why don't you just tell us what you are trying to do or give us some kind of requirement.

Cd&
0
 
jazzIIIloveAuthor Commented:
Just to find out whether my htmlescape works fine or not.

regards.
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
That's a pretty vague request. And since you're not really answering my questions I previously posted (such as whether or not you copied and pasted the html I suggested, I don't think you'll get much help here without knowing the context in which you're looking to test it.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now