Opened 10 years ago

Closed 10 years ago

#1582 closed defect (fixed)

Excess of trailing /s

Reported by: pde Owned by: pde
Priority: Medium Milestone:
Component: HTTPS Everywhere/EFF-HTTPS Everywhere Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


(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

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="" />

<rule from="http://ka9q\.net"

to="" />

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

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



Child Tickets

Change History (1)

comment:1 Changed 10 years ago by mikeperry

Resolution: fixed
Status: newclosed

This should be fixed now if you write the rules without trailing /'s. Please reopen if there's still issues.

Note: See TracTickets for help on using tickets.