X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=pages%2FWiki.sh;fp=pages%2FWiki.sh;h=e433b656ebc4023575b26c3d302ab360853926da;hp=b9215f9281d04808da57624c2291d309f3e0d742;hb=5940c0b0af8a0e7793ad77c17c9415ce5b7f8859;hpb=e6133c890222e735b322df23f5931c59cea06ae6 diff --git a/pages/Wiki.sh b/pages/Wiki.sh index b9215f9..e433b65 100755 --- a/pages/Wiki.sh +++ b/pages/Wiki.sh @@ -17,10 +17,10 @@ # You should have received a copy of the GNU Affero General Public License # along with Busy. If not, see . -info="$(egrep -o '[0-9]{10}_[0-9]{3}' <<<"$_GET[\"i\"]")" -edit="$(egrep -o '[0-9]{10}_[0-9]{3}' <<<"$_GET[\"e\"]")" - rev="$(egrep -o '[0-9]{10}' <<<"$_GET[\"r\"]")" -search="$(sed 's:\t: :g;s:\r::g;s:\\:\\\\:g' <<<"$_GET[\"s\"]")" +info="$(egrep -o '[0-9]{10}_[0-9]{3}' <<<"${_GET[i]}")" +edit="$(egrep -o '[0-9]{10}_[0-9]{3}' <<<"${_GET[e]}")" + rev="$(egrep -o '[0-9]{10}' <<<"${_GET[r]}")" +search="$(sed 's:\t: :g;s:\r::g;s:\\:\\\\:g' <<<"${_GET[s]}")" [ -n "$rev" ] && rev=".$rev" if [ -n "$search" ]; then