[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #1582 [EFF-HTTPS Everywhere]: Excess of trailing /s



#1582: Excess of trailing /s
----------------------------------+-----------------------------------------
 Reporter:  pde                   |       Owner:  pde
     Type:  defect                |      Status:  new
 Priority:  normal                |   Milestone:     
Component:  EFF-HTTPS Everywhere  |     Version:     
 Keywords:                        |      Parent:     
----------------------------------+-----------------------------------------
 (from email)

 I wrote my own rule for my personal website, which supports https at a
 different URL. The https-everywhere add-on seems to append a terminal '/'
 to the rewritten URL even though I didn't specify one, and this caused
 Firefox to return a "page not found" error when looking for

 https://gator461.hostgator.com/~ka9q/index.html/

 I was able to work around this bug for my own situation by simply dropping
 the /index.html from the rewritten URL, but obviously it could be more of
 a problem for websites where the URL is a single page, not a directory.

 My ruleset is now as follows:

 <ruleset name="ka9q">

   <rule from="^http://www.ka9q\.net";
 to="https://gator461.hostgator.com/~ka9q"; />
   <rule from="^http://ka9q\.net";
 to="https://gator461.hostgator.com/~ka9q"; />
 </ruleset>

 Note the lack of a terminal '/' on the 'to' rule. Yet the rewritten URL
 that appears in Firefox after loading the page is

 https://gator461.hostgator.com/~ka9q/

 i.e., with a terminal '/'.

 Thanks,

 Phil

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1582>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online