Author |
Message |
khaled_dxb
Regular


Joined: Jan 15, 2007
Posts: 66
|
Posted:
Wed Feb 18, 2009 10:49 am |
|
Hi All,
I noticed a strange phenomenon today, i posted a poll on my site and i had not voted yet, so i cliecked on "view results" button, however it took me back to the home page!
Looking at the resulting link, looks like it is misinterpreting the & character and replacing it with &
See sample link below:
http://mysite.com/modules.php?name=Forums&file=viewtopic&t=3405&postdays=0&postorder=asc&vote=viewresult
Digging a little deeper, in the source of the page, the form tag seems to contain the error action is:
<form method="POST" action="modules.php?name=Forums&file=posting&mode=vote&t=3405">
I'm gonna post a poll here to test it. |
_________________ Khaled |
|
|
 |
khaled_dxb

|
Posted:
Wed Feb 18, 2009 10:50 am |
|
I just tested it here and it works no problem...
I'll have to dig into the code, unless someone can tell me which file this fix is in off the top of their head. |
|
|
|
 |
khaled_dxb

|
Posted:
Wed Feb 18, 2009 10:51 am |
|
Oh btw, if you press Submit Vote - without selecting any options, a 404 error is displayed. |
|
|
|
 |
horrorcode
Involved


Joined: Jan 17, 2009
Posts: 272
Location: Missouri
|
Posted:
Wed Feb 18, 2009 11:04 am |
|
Indeed it does, odd. I tested it on my site as well and for me it just redirects to the main forums page. |
|
|
|
 |
khaled_dxb

|
Posted:
Wed Feb 18, 2009 11:37 am |
|
I'm guessing you get the same link format as i pasted above... |
|
|
|
 |
horrorcode

|
Posted:
Wed Feb 18, 2009 11:43 am |
|
Sorry, yes I do. Not exactly sure why it isnt being converted, though I have seen similar cases recently. |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Feb 18, 2009 11:52 am |
|
khaled_dxb, Sorry to butt in here, but your emails are all bouncing with the email address that you have registered here. Please correct your email - Thanks! |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Wed Feb 18, 2009 8:11 pm |
|
Links with & seem to work fine on my site. Are you using ShortLinks perhaps? |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Wed Feb 18, 2009 9:09 pm |
|
khaled_dxb, is the same behavior seen over on Only registered users can see links on this board! Get registered or login!? |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Palbin
Site Admin

Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Wed Feb 18, 2009 9:58 pm |
|
I can't reproduce. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
 |
horrorcode

|
Posted:
Thu Feb 19, 2009 12:55 am |
|
It does the same thing here in this very forum. Maybe this is a FF issue, in FF click submit vote without choosing an option^^ and youre brought to an error page. |
|
|
|
 |
horrorcode

|
Posted:
Thu Feb 19, 2009 12:55 am |
|
|
|
 |
khaled_dxb

|
Posted:
Thu Feb 19, 2009 2:08 am |
|
montego wrote: | khaled_dxb, is the same behavior seen over on Only registered users can see links on this board! Get registered or login!? |
I have not yet tested it, BUT that site is using phpbb3!!!!
Do i need to register a new usernam/pwd for that site? or will my credentials for this site work ok?
Looks cool!! |
|
|
|
 |
evaders99

|
Posted:
Thu Feb 19, 2009 2:18 am |
|
I don't believe its using phpBB3. It is just a different template with some mods.
It is a new login. |
|
|
|
 |
|