Alias Length

Permalink
Could someone please point me to the location that determines the alias length limit. It seems to be set at 48 characters at the moment including the _'s for spaces. Or, explain why it is currently set that way. Technical limitation? Thought it would be enough for any alias? Someone's favourite number?

The cHandle field in the database seems to be able to hold 255 characters and the makeAlias javascript in collection_add.php generates an alias beyond 48 characters as you type. So I am assuming that the truncation occurs during the submission of the form
<form method="post" action="<?php echo $c->getCollectionAction()?>" id="ccmAddPage">


Which led me to models/page.php and
if (!$data['cHandle']) {
                        // make the handle out of the title
                        $handle = $txt->sanitizeFileSystem($data['name']);
                } else {
                        $handle = $txt->sanitizeFileSystem($data['cHandle']);
                }


Which doesn't seem to specifically state 48 characters, so is that built into sanitizeFileSystem?

Any information about changing it, or an explanation into why it is the way it is would be greatly appreciated.

Thanks

V