httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50356] improve examples for matching file-extensions
Date Mon, 29 Nov 2010 01:26:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50356

--- Comment #5 from Rich Bowen <rbowen@apache.org> 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
complicated.

Am I understanding you correctly?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message