anchor.diff:      end.
   
   
  -split_path(_SC, [$/], _Q, _Comps, []) ->
  +split_path(_SC, [$/], _Comps, []) ->
       %% its a URL that ends with /
       slash;
  -split_path(SC, [$/, $/ |Tail], Q, Comps, Part) ->  %% security clause
  -    split_path(SC, [$/|Tail], Q, Comps, Part);
  -split_path(_SC, [$/, $., $., $/ |_], _, _, _) ->  %% security clause
  +split_path(SC, [$/, $/ |Tail], Comps, Part) ->  %% security clause
  +    split_path(SC, [$/|Tail], Comps, Part);
  +split_path(_SC, "/../" ++ _ , _, _) ->  %% security clause
       forbidden;
  -split_path(SC, [], Query, Comps, Part) ->
  -    ret_reg_split(SC, Comps, Part, Query);
  -split_path(SC, [$/|Tail], Query, Comps, Part)  when Part /= [] ->
  +split_path(SC, [], Comps, Part) ->
  +    ret_reg_split(SC, Comps, Part);
  +split_path(SC, [$/|Tail], Comps, Part)  when Part /= [] ->
       ?Debug("Tail=~s Part=~s", [Tail,Part]),
       Component = lists:reverse(Part),
       CName = tl(Component),
  
positive.code: 
  
  
  ret_reg_split(SC, Comps, RevFile, Query) ->
      ?Debug("ret_reg_split(~p)", [[SC#sconf.docroot, Comps, RevFile, Query]]),
      Dir = lists:reverse(Comps),
      FlatDir = {noflat, Dir},
      DR = SC#sconf.docroot,
  
negative.code: 	Val ->
  	    {ok, Val}
      end.
  