Posted:
15-July-2008 20:14 Is there a problem when using fragments on the "to" uri of an internal rewrite? For example, if I add the following rewrite to the top of the mapping section in the workbench module, the fragment part of the rewritten uri seems to be ignored and I just get the whole xml document (entrypoints.xml) back: <rewrite> <match>ffcpl:/rewrite/to/fragment</match> <to>ffcpl:/entrypoints.xml#xpointer(/entrypoints/entrypoint/name)</to> </rewrite> |
I expected to get just the "name" element back. I'm using the resource request trace tool to inject the internal request ffcpl:/rewrite/to/fragment. On the other hand if I restart NK and request the rewritten uri directly via the request tool, I just get the name element as expected, instead of the whole document. But if I've already run the <from/> request then the rewritten request also just gives me the whole document, presumably because it found it in cache. Bug? |