nitcalicut/Paathshaala — Issue #25: video.json.php Returning wrong information
Author: jaseemabid
Created: 2011-12-09 18:35:10+00:00
State: open

Accessing '/json/video.json.php?video=...' with an invalid video id is returning wrong info.
Eg :

For cid 1900, It returns

{
cid: "1900",
title: null,
desc: null,
tags: [ ],
timestamp: null,
viewcount: null,
status: null,
path: "//1900.ogv",
poster: "/thumbs/1900.png",
likestatus: 0,
sid: null,
sname: null,
order: null,
uid: null,
uname: null
}

It should have been ideally null in every field.