Results 1 to 5 of 5

Thread: HTML escaping

  1. #1

    Default HTML escaping

    I am closing in on final bits of my railslist project a craigslist style open source classifieds. Reviewing final checks to be done before it is released to the community. One thing stuck me was HTML escaping. Although I can escape each input separately, i am interested to have some thing that would accept an object and escape all its attributes.

    any ideas?

  2. #2
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Post

    Quote Originally Posted by unknown888 View Post
    I am closing in on final bits of my railslist project a craigslist style open source classifieds. Reviewing final checks to be done before it is released to the community. One thing stuck me was HTML escaping. Although I can escape each input separately, i am interested to have some thing that would accept an object and escape all its attributes.

    any ideas?
    I'm not much good into RoR, but I've done some research & come across these links:

    1) escapeHTML (CGI)
    2) html_escape (RSS::Utils)
    3) html_escape (ERB::Util)

    Hope they are useful..

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

  3. #3

    Default

    thank you Rock.

  4. #4
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Default

    You are welcome..

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

  5. #5

    Default

    Sorry to dredge up an old post but if anyone is reading this all strings are now html escaped in rails3

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •