github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2013-07-08 11:16 pm

[dreamwidth/dw-free] fc8805: Fix input argument sanitization

Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: fc88055d2d8e9a976690f8300ff3689a5d930999
https://github.com/dreamwidth/dw-free/commit/fc88055d2d8e9a976690f8300ff3689a5d930999
Author: Mark Smith <mark@dreamwidth.org>
Date: 2013-07-08 (Mon, 08 Jul 2013)

Changed paths:
M cgi-bin/LJ/User.pm

Log Message:
-----------
Fix input argument sanitization

The s2id argument wasn't properly sanitized, so if you passed text in,
later codepaths would complain about non-numeric inputs. This ensures
that s2id is numeric before we use it.