lonfee88 / pcaphar

Automatically exported from code.google.com/p/pcaphar
0 stars 0 forks source link

Do not detect validity of har file based on extension #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create har file without the har extension.
2. Try and analyze it. 
3. Error: Check your uploaded file format: FILENAME.
4. Rename to FILENAME.har and reupload.
5. Har file is analyzed.

What is the expected output? What do you see instead?

I would expect it to detect valid har data inside of the file, not the 
extension of the file.

Original issue reported on code.google.com by bberenb...@gmail.com on 4 Feb 2013 at 7:55

GoogleCodeExporter commented 9 years ago
Hi, pcaphar is expecting the file uploaded to be a pcap file, pcaphar then 
convert the pcap to har and view it, which is the main purpose for this 
project. If there are more interest in auto-detecting har instead pcap, we will 
do it. Thanks.

Original comment by ls...@google.com on 4 Feb 2013 at 8:45