/    Sign up×
Community /Pin to ProfileBookmark

Javascript URL Repeating – Server Crash

Hi,

Gotta problem whereby a button on a page is calling an ASP.NET file (.aspx file extension) passing through some parameters.

However, sometimes it appears part of the url being delivered is repeated until the string is 16,000 characters long. The string is then thrown at the server, which promptly crashes and throws an error.

The string ends up looking something like this:

[url]https://[I]sitename[/url][/I].net/[I]filepath[/I]/[I]aspx_file[/I].aspx?parameter1=value1https://[I]sitename[/I].net/[I]filepath[/I]/[I]aspx_file[/I].aspx?parameter1=value1https://[I]sitename[/I].net/[I]filepath[/I]/[I]aspx_file[/I].aspx?parameter1=value1https://[I]sitename[/I].net/[I]filepath[/I]/[I]aspx_file[/I].aspx?parameter1=value1https://[I]sitename[/I].net/[I]filepath[/I]/[I]aspx_file[/I].aspx?parameter1=value1 (etc, etc)

All parameters are being encoded before the URL string is built and sent to the server. I cannot find any reserve words in any of the code (JS or ASP.NET), nor can I see any of the same parameters used in this particular piece of JS or any of the .js files loaded to the site.

With this limited about of background info does anyone have any experience with this issue? Many thanks for your time.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@JunkMaleDec 01.2011 — Sorry, the crystal ball is in shop being repaired.

Perhaps if you posted your code and ensured you wrapped in forum tags (those buttons # <> and PHP) then you might get a better response.
×

Success!

Help @zabarrie spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...