Closed Bug 205371 Opened 23 years ago Closed 14 years ago

wrong .htaccess in bugzilla/data/webdot/

Categories

(Bugzilla :: Installation & Upgrading, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: andreas, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.3b) Gecko/20030423 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.3b) Gecko/20030423 The bugzilla/data/webdot/.htaccess is created with a wrong regexp. <FilesMatch [0-9]+\.(png|gif|jpg|map)$> The temporary file that is created when viewing a dependency graph does not always start with a number, it can start with a letter as well: /srv/www/default/html/bugzilla/data/webdot/kmWf5o7yN5.png Reloading the page a few times will eventually display the graph, because sometimes the temp file will indeed begin with a number :) Reproducible: Always Steps to Reproduce: 1. Try do load a dependency graph for some bug 2. If the temp file starts with a number, the graph will be displayed 3. If the temp file does not start with a number, access to the graph will be denied Actual Results: No dependency graph was showed. Expected Results: The dependency graph should have been showed even if the temporary file did not start with a number. An easy workaround is to fix the regexp in the .htaccess file after the installation.
oops. Patch is on the way.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Let me just add that the same .htaccess file is wrongly specifying also the regexp for .dot files, which is manifesting in installations with remote webdot service (eg at http://webdot.graphviz.org/cgi-bin/webdot/ ) It is <FilesMatch ^[0-9]+\.dot$> but it should be less restrictive, like: <FilesMatch ^[A-Za-z0-9]+\.dot$> while waiting for the patch you can fix your bugzillas by changing <FilesMatch [0-9]+\.(png|gif|jpg|map)$> to <FilesMatch [A-Za-z0-9]+\.(png|gif|jpg|map)$>
This was cause by the fix for bug 197153. If you remove the .htaccess file, checksetup will regenerate a correct one. It won't change exisitng ones though, so I'll leave this bug open for Zach to fix that.
QA Contact: mattyt-bugzilla → default-qa
Assignee: zach → installation
This is such an old issue that I doubt people are still affected by this problem. And if this still happens (which doesn't seem to be the case based on the lack of comments and votes and users in the CC list), we will simply tell them to delete .htaccess and let checksetup.pl recreate it.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.