[Bug 891] New - login.php does not pass 'to' field when action is 'compose'

bugs@bugs.horde.org bugs@bugs.horde.org
Mon, 4 Mar 2002 19:31:47 -0400


http://bugs.horde.org/show_bug.cgi?id=891

*** shadow/891	Mon Mar  4 19:31:47 2002
--- shadow/891.tmp.18783	Mon Mar  4 19:31:47 2002
***************
*** 0 ****
--- 1,28 ----
+ Bug#: 891
+ Product: Horde
+ Version: 2.0 Stable
+ Platform: All Browsers
+ OS/Version: All
+ Status: NEW   
+ Resolution: 
+ Severity: minor
+ Priority: P3
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: hogle@jthinc.net               
+ URL: 
+ Summary: login.php does not pass 'to' field when action is 'compose'
+ 
+ Someone had asked about getting IMP to come up when they clicked
+ on a mailto: URL in a web browser, and Jan S. replied with a 
+ comment to use the 'scripts/Imp.reg' file.  That works fine and
+ well, but after you login, it takes you to the compose window but
+ does not fill in the To: field automatically.  I dug around and
+ found that "login.php" does not pass off the "to" value from
+ HTTP_GET_VARS.  I worked around the problem by rewriting the code
+ to bring up the "compose.php" script directly with the 'redirect_url'
+ parameter.  I wanted the compose window only because it will eliminate
+ having a ton of windows open if you keep clicking on mailto: URLs.
+ I figured I'd let you all figure out what you wanted to do with this.
+