httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50356] improve examples for matching file-extensions
Date Mon, 29 Nov 2010 01:26:57 GMT

--- Comment #5 from Rich Bowen <> 2010-11-28 20:26:55 EST ---
I'm obviously still missing the point of this ticket.

This is about files with names like '.gif'? Really?

The examples that we give in the documentation are intended to reflect the
*most common* cases, not some bizarre edge cases. Who has files named .pdf?

These examples do not forbid these file names, they merely reflect the most
common scenario, in the simplest possible example.

On the other hand, I'm still not clear on what you're suggesting as an
alternative. Are you suggesting that the examples should *force* the filename
to have something before the file extension, as in:

<filesmatch .+\.(gif|png|jpg)$>

My only complaint with that is that it makes the regex one step more
complicated. And since regular expressions are in the top five list of things
that people get confused about, I'm reluctant to make things one step more

Am I understanding you correctly?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message