How to have an extension in hook_menu() I am trying to create a menu with a file extension in hook_menu() with the following code:

$items['pdf/products/%.pdf'] = array(
    'title' =&gt; 'Download PDF',
    'page callback' =&gt; '_pdf_get',
    'page arguments' =&gt; array(2),
    'access callback' =&gt; TRUE,
    'type' =&gt; MENU_CALLBACK
);


It works fine without the .pdf.

Any ideas how I can do this?
Why do you need the .pdf part in the hook menu?  Can't you just perform a check on the arg() function in your _pdf_get function to ensure that the argument contains ".pdf" and if not, redirects the user to the url with ".pdf" appended?