Closed Bug 267478 Opened 20 years ago Closed 20 years ago

Cannot create log directories for servers containing non 6667 port

Categories

(Other Applications :: ChatZilla, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: robin, Assigned: rginda)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

The new scheme to put logs in more nested directories is really nice.
Unfortunately, some IRC servers use ports other than 6667 and when cz tries to
creates a directory called 'irc.foo.org:6665' it fails because of the colon (at
least on NTFS, haven't tried elsewhere). You probably want a dash instead.

Thankfully it fails smartly and simply complains that it cannot open the logfile.

You may wish to test this by hitting irc://irc.w3.org:6665/test

Reproducible: Always
Steps to Reproduce:
1. Connect to a server with a non default port
2. Try to turn logs on

Actual Results:  
Couldn't start logging

Expected Results:  
Logged happily, offered me a drink.
Yeah, the escape code was only escaping things once...

I've got this all fixed locally for 0.9.66e.
Depends on: 269633
Product: Core → Other Applications
FIXED.

This fix will be available in the next ChatZilla release, 0.9.67.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.