The redirect doesnot work url with tilde(~) The redirect doesnot work url with tilde(~)
 

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

The redirect doesnot work url with tilde(~)

Started by yamane, February 22, 2006, 04:48:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yamane

Hi, I have two site. For example, they are following URL.

Site:A
http://www.eg.com/useid/forum
http://www.eg.com/useid/gallery
-------------------------------
Site:B
http://www.eg1.com/~useid/forum
http://www.eg1.com/~useid/gallery

and forum script is phpBB 2.0.19, gallery script is Coppermine 1.4.3.


When logging from Site:A gallery, url is below
http://www.eg.com/useid/forum/login.php?redirect=../gallery/
and then http://www.eg.com/useid/gallery/?sid=213132.....
It's excellent, I have no problem, thx.

But,
When logging from Site:B gallery, url is below
http://www.eg1.com/~useid/forum/login.php?redirect=../../~useid/gallery/
and then http://www.eg1.com/?sid=564345......
It ..sad thing.. redirect doesn't working.

I tried the following url by manually edit.
http://www.eg1.com/~useid/forum/login.php?redirect=../gallery/
The result was the same.

Please let me know the solution if you could, perhaps that this is a problem of phpBB.

Thx in advance.


yamane

#2
I fixed this, I modified phpbb2018.inc.php
I think this is not a bug. but, the issue was inĀ  Coppermine bridge code.
Thx