If getCurrentInternalUri() was called once with true or false, and then again with the opposite, the cached result would have been wrong - this patch ensures the cached value is only ever returned if it's of  the same type.
If getCurrentInternalUri() was called once with true or false, and
then again with the opposite, the cached result would have been wrong
- this patch ensures the cached value is only ever returned if it's of
 the same type.



git-svn-id: 7038a89b398528086dab5106cc8d05243a854dbc@7363 ee427ae8-e902-0410-961c-c3ed070cd9f9

theodo/symfony1.1-backports,theodo/symfony1.1-backports,theodo/symfony1.1-backports