~ubuntu-branches/ubuntu/lucid/erlang/lucid-proposed

« back to all changes in this revision

Viewing changes to lib/inets/src/http_server/mod_actions.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-06-11 12:18:07 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090611121807-ks7eb4xrt7dsysgx
Tags: 1:13.b.1-dfsg-1
* New upstream release.
* Removed unnecessary dependency of erlang-os-mon on erlang-observer and
  erlang-tools and added missing dependency of erlang-nox on erlang-os-mon
  (closes: #529512).
* Removed a patch to eunit application because the bug was fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
%% load
80
80
 
81
81
load("Action "++  Action, []) ->
82
 
  case regexp:split(Action, " ") of
 
82
  case inets_regexp:split(Action, " ") of
83
83
    {ok,[MimeType, CGIScript]} ->
84
84
      {ok,[],{action, {MimeType, CGIScript}}};
85
85
    {ok,_} ->
86
86
      {error,?NICE(httpd_conf:clean(Action)++" is an invalid Action")}
87
87
  end;
88
88
load("Script " ++ Script,[]) ->
89
 
  case regexp:split(Script, " ") of
 
89
  case inets_regexp:split(Script, " ") of
90
90
    {ok,[Method, CGIScript]} ->
91
91
      {ok,[],{script, {Method, CGIScript}}};
92
92
    {ok,_} ->