Issue Bug Closed

#21854URL's with a very long Number in type returns a false Number in error message

Thomas Lange 12/13/09, 15:31 updated 09/27/12, 15:44

Description

If a page-type (pageNum) doesn’t exist I get an Error, that’s okay
E.g http://localhost/index.php?type=2

I get a page with:
Error!

The page is not configured! [type= 2][]
That’s okay.

On the other hand, if I use a very long number in URL-paramter ‘type’ it returns a false Number in the error message, e.g.:

http://localhost/index.php?type=11111111111111111111
—> The page is not configured! [type= 9223372036854775807][]

or even
http://localhost/index.php?type=1111111111111111111111111
—> The page is not configured! [type= 9223372036854775807][]
(the same wrong number)

It seems to stand in context with data type ‘int’
Number 9223372036854775807 is 2^63 – 1

(issue imported from #M13027)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.