Closed (won't fix)
Project:
Mail Comment
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2010 at 16:20 UTC
Updated:
13 Aug 2013 at 22:47 UTC
The redirect is currently pretty long.
http://example.com/mailcomment/redirect/%3C19.12054.0.1267177300.25313ee...
As a first simple proposal I think we can replace "redirect" with just the letter "r" or the word "go"
http://example.com/mailcomment/r/%3C19.12054.0.1267177300.25313ee3c3614b...
A next step could be to shorten mailcomment to something like "mc" or combine it with the "redirect" like:
http://example.com/mgo/%3C19.12054.0.1267177300.25313ee3c3614bc2162ca0e3...
A more drastic step would be to create a uniqueid that we store in the database and use to identify the proper token.
http://example.com/mgo/123456/mgo
+----------+---------------------------------------------------------------------------+
| id | value |
+----------+---------------------------------------------------------------------------+
| 123456 | %3C19.12054.0.1267177300.25313ee3c3614bc2162ca0e3fd6501d2%40example.com%3E|
+----------+---------------------------------------------------------------------------+
That would also make the regex that finds the token much simpler.
Comments
Comment #1
dsnopekAnd it would prevent problems where e-mail clients truncate the ID, making mailcomment return "Received an email with no parameters"! This appears to be a problem with Outlook. Shortening the URL would fix it.
Comment #2
danepowell commentedSorry, Mail Comment 6.x-1.x is no longer supported. Please upgrade to 6.x-2.x and re-open if still an issue. Thanks!