X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=cgi-bin%2Fdispatcher.pl;h=e34f0e39824b214c0b626d2b278f9fb45931a2c0;hp=45d1b463154539b9c20dc63c71e3b5eb40285650;hb=1d7c1b6f69a8b6b10fd304730b95eeeaa6654098;hpb=21177def4abd5083e93f3c79eab13d4713eedecf diff --git a/cgi-bin/dispatcher.pl b/cgi-bin/dispatcher.pl index 45d1b46..e34f0e3 100755 --- a/cgi-bin/dispatcher.pl +++ b/cgi-bin/dispatcher.pl @@ -269,6 +269,7 @@ $page_content{make_url} = sub { return &Packages::CGI::make_url(@_) }; $page_content{html_encode} = sub { return HTML::Entities::encode_entities(@_,'<>&"') }; $page_content{uri_escape} = sub { return URI::Escape::uri_escape(@_) }; $page_content{quotemeta} = sub { return quotemeta($_[0]) }; +$page_content{string2id} = sub { return &Packages::CGI::string2id(@_) }; print $input->header( -charset => $charset );