Changeset 6533


Ignore:
Timestamp:
Aug 15, 2008, 7:45:46 PM (15 years ago)
Author:
charles
Message:

fix shttpd issue reported by Gimp_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc-server.c

    r6430 r6533  
    244244                            "\r\n"
    245245                            "<html><head>" "\r\n"
    246                             "  <meta http-equiv=\"Refresh\" content=\"2; url=/transmission/web\">" "\r\n"
     246                            "  <meta http-equiv=\"Refresh\" content=\"2; url=/transmission/web/\">" "\r\n"
    247247                            "</head><body>" "\r\n"
    248                             "  <p>redirecting to <a href=\"/transmission/web\">/transmission/web</a></p>" "\r\n"
     248                            "  <p>redirecting to <a href=\"/transmission/web\">/transmission/web/</a></p>" "\r\n"
    249249                            "</body></html>" "\r\n";
    250250    const size_t n = strlen( redirect );
     
    370370        argv[argc++] = tr_strdup( "-auth_realm" );
    371371        argv[argc++] = tr_strdup( MY_REALM );
     372
     373        argv[argc++] = tr_strdup( "-root" );
     374        argv[argc++] = tr_strdup( "/dev/null" );
    372375
    373376        if( server->acl )
Note: See TracChangeset for help on using the changeset viewer.