extra / in url after bridge extra / in url after bridge
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

extra / in url after bridge

Started by dreams83, March 09, 2007, 08:58:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dreams83

I have  cpg1.4 modpack by Stramm the latest version with the lastest cpg and after bridging it with phpbb 2.0.22 i get an extra / in the url

like after signing in i get the address like:

http://www.ehmongmusic.com//?sid=5c44c266dc023112731d746e974f461d

it works but just doesn't look right. It is suppose to be like that?


Thank You

nickfzx

nice site btw

it doesn't matter that the 2 slashes are there...you could have 6 slashes there and it would still work the same.

Looking at your site I think it is an issue with the login redirect url set by phpbb.

you may notice that the url when you hit login says:
http://www.ehmongmusic.com/forum/login.php?redirect=..//

try altering that.

Nibbler

Assuming this is not a modpack issue, you can remove the extra slash in bridge/phpbb2018.inc.php


$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/') . '/';


Change it to


$redirect = str_repeat('../', $levels) . trim($cpg['path'], '/');

dreams83

thank you

so if its not a problem i will just leave it be :-)

nickfzx

i am fairly sure if you just opened login.php in your forum folder, located the redirect url and removed one of the slashes at the end it would fix the problem.


dreams83

replaced the code and it works now.

Thank You