Closed (fixed)
Project:
Short URL
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2010 at 04:17 UTC
Updated:
31 Aug 2010 at 23:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
dstolHere's the patch.
Comment #2
irakli commentedThanks, David.
I think the logic of the code before and after the patch is not equivalent. Original code was making sure that the generated token does not overlap one of the "reserved" tokens (or an existing alias, or an existing handler further down the code). The intention being - to avoid random generation of unwanted tokens. After the patch you are checking if the original_url contains a reserved token. Not sure what the intention is there, but imho it is not the same as the original purpose.
As for the problem you are experiencing: the piece of code you indicated is calling menu_get_item() and a query against aliases table. Both should be safe to call under any circumstances...
I saw some error messages you sent over, but due to limited scope tbh it was hard to understand whether I was looking at the cause or the effect.
Let me shoot en e-mail to Frank and request his help?
Comment #3
irakli commentedComment #4
dstolYeah that's fine.
Perhaps if we refactor this a little.
Powered by Dreditor.
Comment #5
dstolErr, d.o is strugging.
Comment #6
irakli commentedFixed in CVS http://drupal.org/cvs?commit=408918