DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005
    Posts
    53

    Error: Redirect URI cannot contain newline characters

    I have a web page in which a user enters values into a comment field.
    I have another page where based on the selection of drop downs the user gets redirected to another page where they can view these comments.

    If the user hits the enter button when entering comments I recieve the error : "Redirect URI cannot contain newline characters".

    Is there anyway I can pull out this newline character when initially inserting the record into the table or pull it out when trying to redirect to the next page to prevent this error from ocurring?

    Thanks,
    Ninel

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Yes, you may use the Replace method to replace newline characters with null strings. Which programming language are you using?
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. special characters in resource bundle
    By ewsrean in forum Java
    Replies: 0
    Last Post: 08-07-2006, 08:11 AM
  2. Replies: 0
    Last Post: 02-16-2006, 01:27 PM
  3. Uri
    By freesoft_2000 in forum Java
    Replies: 0
    Last Post: 07-27-2005, 01:59 PM
  4. Replies: 4
    Last Post: 04-23-2002, 10:51 AM
  5. Replies: 0
    Last Post: 06-14-2000, 10:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links