Closed Bug 1599373 Opened 5 years ago Closed 4 years ago

Checking for http proxy should compare only 4 characters?

Categories

(Core :: Networking: HTTP, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: dragana, Assigned: mbansal)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

or len ? or a rewrite with mozilla::Tokenizer, to be safe? :)

Priority: -- → P2
Whiteboard: [necko-triaged]

Hello !!
Can I work on this bug ?
It seems that I only need to replace 5 with 4 ?

if (PL_strncasecmp(start, kProxyType_HTTP, 5) == 0) {
type = kProxyType_HTTP;

Assignee: nobody → mbansal
Status: NEW → ASSIGNED
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b3f21e88c485
Checking for http proxy should compare only 4 characters.r=dragana
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: