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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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