473,549 Members | 2,670 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Redirect URI cannot contain newline characters

Hi All,

i am getting this error once i submit my page to a payment gateway and when
it returns the reponse back.

Redirect URI cannot contain newline characters.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.Argument Exception: Redirect URI cannot contain
newline characters.

can any help on this issue?

thanks
Thomas
Jul 7 '06 #1
3 8134
I suppose you send this page an address to which it should redirect once
done ? If yes, have you checked you don't have invalid characters in this
address ?

--
Patrice

"Thomas" <Th****@discuss ions.microsoft. coma écrit dans le message de news:
7E************* *************** **...icrosof t.com...
Hi All,

i am getting this error once i submit my page to a payment gateway and
when
it returns the reponse back.

Redirect URI cannot contain newline characters.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.Argument Exception: Redirect URI cannot contain
newline characters.

can any help on this issue?

thanks
Thomas

Jul 7 '06 #2
No I didn't. Thanks I will.

"Patrice" wrote:
I suppose you send this page an address to which it should redirect once
done ? If yes, have you checked you don't have invalid characters in this
address ?

--
Patrice

"Thomas" <Th****@discuss ions.microsoft. coma écrit dans le message de news:
7E************* *************** **...icrosof t.com...
Hi All,

i am getting this error once i submit my page to a payment gateway and
when
it returns the reponse back.

Redirect URI cannot contain newline characters.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.Argument Exception: Redirect URI cannot contain
newline characters.

can any help on this issue?

thanks
Thomas


Jul 10 '06 #3
Hi, I have the same problem. I review the url and I not found invalid
characters. My error happens when I redirect from login Page using the
returnURL,befor e it was well, but now it does not work correctly what is
the problem, please help me
"Patrice" wrote:
I suppose you send this page an address to which it should redirect once
done ? If yes, have you checked you don't have invalid characters in this
address ?

--
Patrice

"Thomas" <Th****@discuss ions.microsoft. coma écrit dans le message de news:
7E************* *************** **...icrosof t.com...
Hi All,

i am getting this error once i submit my page to a payment gateway and
when
it returns the reponse back.

Redirect URI cannot contain newline characters.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about
the error and where it originated in the code.

Exception Details: System.Argument Exception: Redirect URI cannot contain
newline characters.

can any help on this issue?

thanks
Thomas


Aug 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7981
by: Damo | last post by:
Could someone please help me. I am a newbie at PHP. I downloaded formail.php Version 5.0 from Jacks scripts( http://www.dtheatre.com/scripts/ )and changed the required areas to my email address and the domain server address. (these changes were in the $recipient and $referers section) I have set up the form and can get the form to email me the...
3
1968
by: mudge | last post by:
I'm having a problem getting rid of newlines. say I have this situation: $cat = "A nice\n cat"; The "\n" is an escape character which creates a newline right there. Now, how would I get rid of the newline in that string?
7
15904
by: Donna Hawkins | last post by:
I want to use javascript to redirect to a URL which has been passed as a variable (in php). I have searched but cannot find any solution. I think this code is a basic redirect: <script type="text/javascript"> window.location = "http://www.someserver.com/somePage.html"; </script>
1
4985
by: pmud | last post by:
Hi, Through our ASP.NET website, when i complete the order I get the error,"Redirect URI cannot contain newline characters. " Any idea why its doing that? -- pmud
4
1852
by: Roel | last post by:
Hello When I have an exception within a try - catch block, I sent the user to my error page with the following code: Response.Redirect(@"error.aspx?errmsg=" + ex.Message + "&errsource=" + ex.Source + "&errstack=" + ex.StackTrace); The problem is that when there is an \n - sign in the error message or stacktrace, I get the error "Redirect...
4
1287
by: Roel | last post by:
Hello When I have an exception within a try - catch block, I sent the user to my error page with the following code: Response.Redirect(@"error.aspx?errmsg=" + ex.Message + "&errsource=" + ex.Source + "&errstack=" + ex.StackTrace); The problem is that when there is an \n - sign in the error message or stacktrace, I get the error "Redirect...
2
5661
by: John Salerno | last post by:
If I read a string that contains a newline character(s) into a variable, then write that variable to a file, how can I retain those newline characters so that the string remains on one line rather than spans multiple lines? Example: In a CGI script, I'm reading the address field from an HTML form. Almost always the person will press ENTER...
10
1803
by: yaniv.dg | last post by:
hi all, i'm bumping into smething very starnge its very simple code but from some reason the program is acting strange this is my code: #include<stdio.h> #include<conio.h> void main(void) { int a,c; char b;
3
11215
by: ofilha | last post by:
I am trying to export the resultset of a query to a character delimited file. I am using the wizard for this. However, one of the fields is 512 characters long and it accepts from form address. It looks like the field contains newlines, but when i look at the resultset in DB2 i don't see any newline characters, only after i copy it and then...
0
7521
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7473
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7810
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5369
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3483
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1061
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.