Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Asp.net 2.0 Request Validation

Options
  • 20-12-2006 3:37pm
    #1
    Registered Users Posts: 7,468 ✭✭✭


    I need to allow a user to submit limited HTML input via one webform on our site. We've a link to us textbox with the html for the link (<a href= ...). This is failing request validation. Turning off request validation isn't an option so is there a way of allowing limited html use?

    :confused:


Comments

  • Registered Users Posts: 2,299 ✭✭✭PixelTrawler


    Could you encode ( base64 etc ) the text input in one form and decode it on the other. This should work.

    Or can you do a find and replace on the tag symbols to a symbol that wont trigger a validation error, and simply find and replace back on the receiving page.

    Both of these will only work if you have access to both pages to make the necessary changes.

    Other then that i don't know of a way to get around the validation check without switching it off


Advertisement