~evergreen-bugs/evergreen/rel_3_11

1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
FILENAME=$(basename "$PATH_INFO")
FILENAME=${FILENAME%.xpi}
if [ -n "$FILENAME" -a -f "./clients/$FILENAME.xpi" ]; then
echo "Content-Disposition: attachment"
echo ""
cat "./clients/$FILENAME.xpi"
else
echo ""
echo "?"
fi