anchor.diff:  handle_request(#httpd{method='GET', path_parts=["edit"|PathParts], 
           app_name=Name, app_dir=Dir, mochi_req=MochiReq, path=Path}=Req) ->
   
  -    FName = filename:join([Dir|PathParts]),
  +    FName = ?UNQUOTE(filename:join([Dir|PathParts])),
       ok = check_path(FName, Dir),
   
       case filelib:is_dir(FName) of
  
positive.code: 
              {ok, #file_info{size=S, mode=M}} = file:read_file_info(FName),
  
              RelPath = "/" ++ string:join(PathParts, "/"),
              Href = "/raw" ++ RelPath,
  
              Extra = case lists:member(Ext, ?IMG_TYPES) of
                  true ->
                      Content = render(Req, "file_img.html", [{href, Href},
                                                    {size, S},
                                                    {mode, M}]),
                      [{content, Content}];
                      
                  false ->
                      {ok, Bin0} = file:read_file(FName),
                      Bin = mochiweb_html:escape(Bin0),
                      Content = render(Req, "file.html", [{bin, Bin},
                                                {rel_path, RelPath},
                                                {href, Href},
                                                {size, S},
                                                {mode, M}]),
                      Actions = render(Req, "file_actions.html", [
                              {rel_path, RelPath},
                              {href, Href}]),
  
negative.code: 
      {Tmpl, Ctx} = case filelib:is_dir(FName) of
          true ->
              RelPath = fix_evently(string:join(PathParts, "/")),
              Actions = render(Req, "tree_actions.html", [{rel_path, RelPath}]),
              BreadCrumb = breadcrumb(PathParts),
              Tree = [dict:from_list(Props) || Props <- tree(FName, Dir)],
  