Closed Bug 961642 Opened 11 years ago Closed 11 years ago

[httpd] import registerPrefix from upstream

Categories

(Firefox OS Graveyard :: Gaia::TestAgent, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julienw, Assigned: julienw)

References

Details

Attachments

(1 file, 1 obsolete file)

(deleted), text/x-github-pull-request
yurenju
: review+
Details
Attached file pull request (obsolete) (deleted) —
Attached file pull request (deleted) —
Attachment #8362423 - Attachment is obsolete: true
Comment on attachment 8362425 [details] pull request Hey Yuren, here is a simple patch coming from upstream. Maybe you can use this in one of your other bugs?
Attachment #8362425 - Flags: review?(yurenju.mozilla)
Comment on attachment 8362425 [details] pull request It would help on bug 900182, thank you!
Attachment #8362425 - Flags: review?(yurenju.mozilla) → review+
master: 079bfeb840ba2bf6c20473e9585cb526bd8d45cb Yuren, be careful still because the "getFileFromPath" does not use the registered prefixes. I think that instead of using getFileFromPath in some places (especially line 1451) to know whether a path is correct or not, we should run "handleResponse" with dummy arguments and see the http status that is written to those arguments.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: