Changeset 6535


Ignore:
Timestamp:
Aug 15, 2008, 8:30:28 PM (13 years ago)
Author:
charles
Message:

backport r6533 to 1.3x: "fix shttpd issue reported by Gimp_"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3x/libtransmission/rpc-server.c

    r6430 r6535  
    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.