Jump to content

Foreign Aid Search Bug


Recommended Posts

Basically when I click "Search Foreign Aid" on a nation the resulting screen showed no aid.


I was searching my members aid to arrange tech deals, when i clicked "Search Foreign Aid" I was taken to the Login screen since I haven't done anything for 10 mins. I just click sign in and it took me to that members Foreign Aid screen as linked before. I got him 5 deals then the buyers told me he only has 1 slot open.

So that link is showing false info for members when they sign in to view aid.

To fix it I had to go back to the nation screen and go into the Search Foreign Aid again. Im using Google Chrome and the bug works with mozilla.

Link to comment
Share on other sites

This is because of how the URL transforms during a "logged out" to "logged in" transition.

[code]Logged in: http://www.cybernations.net/search_aid.asp?search=396411&Extended=1
"During" login: http://www.cybernations.net/login.asp?accessdenied=%2Fsearch_aid.asp%3Fsearch%3D396411%26amp%3BExtended%3D1
Logged out-logged in: http://www.cybernations.net/search_aid.asp?search=396411&Extended=1[/code]

Notice the &? & is the HTML code for ampersand (&).
In the During login, its %26amp%3B -- %26 is &, so what happens is the & is turned into &, and the amp; that was already there is kept.

This produces the result you see.

Edit: A user-side work-around is to always click wars/aid a *second* time if you see none.

Edited by Sakura
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...