Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Should media URL be limited to 256 characters?

Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
05-31-2009 06:04
Hoping to get some community sentiment before I enter a jira about this.

I discovered to my dismay that (I think) 256 characters is the maximum length of URLs used for llParcelMediaCommandList() and in the About Land media dialog box.

This presents a problem especially for parameterized URLs (including anchors based on Unicode characters, where I first encountered it). Browsers allow much, much longer URLs, so I suspect this truncation is not standards compliant.

I'm wondering, however, if this limit might be intentional, to prevent some string length griefer-weapons (as arose when object descriptions were unlimited).

Or maybe there's some other reason we wouldn't want this to be unlimited?

Or some other limit we'd want?
_____________________
Archived for Your Protection
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-31-2009 10:24
I imagine there needs to be SOME limit to keep scripts from crashing, but I'd guess that it's more than what's available now... and probably done that way for convenience.. especially if it's a hard coded space (given that it's not 255 it's possible, perhaps even likely).

I say jira it... it's out of spec for standards and breaks things you would expect to be within spec.... then let them sort out if they'll decided i needs fixing, or is another undocumented "expected behavior"
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
06-02-2009 00:34
Actually it's 255. :o

Submitted http://jira.secondlife.com/browse/SVC-4321.
_____________________
Archived for Your Protection
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
06-02-2009 03:20
heh, those damn string termination characters make guessing fun...
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Ee Maculate
Owner of Fourmile Castle
Join date: 11 Jan 2007
Posts: 919
06-02-2009 03:53
I've recently been working on an object for which this limit is a severe hindrance.. I'd vote on a JIRA....

I'm not after anything silly, but doubling it would be nice.