URL Redirection Problem

gprime

Joined: 2005-06-21
Posts: 2
Posted: Tue, 2005-06-21 17:00

I am having trouble will the URL redirections. I successfully configured G2 and i added some pictures and albums but when i try to "edit album" (and alot of other actions) i get redirected to a 404 page. The reason is because the url G2 tries to redirect to is wrong. This is the url it tries to redirect to when i click "edit album":

http://mywebsite.com/gallery2/main.php?g2_view=core:ItemAdmin&g2_subView=core:ItemEdit&g2_itemId=7&g2_return=http%3A%2F%2Fblog.streckers.info%2Fgallery2%2Fmain.php%3Fg2_view%3Dcore%3AShowItem%26g2_itemId%3D7%26g2_page%3D2&g2_returnName=album

as you can see the query string "g2_return" (which is i guess the return address) has invalid characters in it (i.e. http%3A%2F%2F instead of http://). Why is this happening? When i mouse over the link i see the correct URL in the status bar of my browser but when i click on it is gives me these characters.

Can anybody help?
----

Gallery URL (optional):
Gallery version: 3 beta 3
Webserver (with version): apache
Datatabase (with version): mysql 3.23.57
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system: windows xp pro SP2
Web browser/version: firefox 1.1
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-06-21 17:22

please upgrade to the current nightly snapshot and try again.
http://galleryupdates.jpmullan.com
upgrade instructions in the README.html of the new gallery2.tar.gz