Page MenuHomePhabricator

Semantic Forms support for URL parameters for long text fields
Closed, InvalidPublic

Description

Currently passing fields into a form in Semantic Forms from the URL works great, but for text fields the value seems to have a relatively short length limit. For example, the URL:

http://links.thingelstad.com/wiki/Special:FormEdit/Bookmark/?Bookmark[URL]=https%3A%2F%2Fwww.eff.org%2Fdeeplinks%2F2013%2F02%2Fhowto-opt-out-databrokers-showing-your-targeted-advertisements-facebook&Bookmark[Title]=How%20To%20Opt%20Out%20of%20Receiving%20Facebook%20Ads%20Based%20on%20Your%20Real-Life%20Shopping%20Activity%20-%20Electronic%20Frontier%20Foundation&Bookmark[Excerpt]=Facebook%20has%20announced%20that%20it’s%20teaming%20up%20with%20four%20of%20the%20world’s%20largest%20corporate%20data%20brokers%20to%20“enhance”%20the%20ad%20experience%20for%20users.%20Datalogix%2C%20Epsilon%2C%20Acxiom%2C%20and%20BlueKai%20obtain%20information%20gathered%20about%20users%20through%20online%20means%20(such%20as%20through%20cookies%20when%20users%20surf%20the%20web)%20as%20well%20as%20through%20offline%20means%20(such%20as%20through%20loyalty%20cards%20at%20supermarkets%20and%20product%20warranty%20cards)1.%C2%A0%20Through%20the%20new%20relationship%20with%20Facebook%2C%20companies%20will%20be%20able%20to%20display%20advertisements%20to%20Facebook%20users%20based%20on%20data%20that%20these%20data%20brokers%20have%20on%20individuals.

Will not pre-populate the Bookmark[Excerpt] field. That URL, while ugly, is 1,144 bytes long (including protocol and such). The Bookmark[Excerpt] field is 760 chars URL encoded. I realize arbitrary length isn't supported, but even older browsers support URL's aroun 2,000 characters.


Version: master
Severity: enhancement

Details

Reference
bz45913

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:31 AM
bzimport set Reference to bz45913.

This doesn't seem like a Semantic Forms issue - I'm guessing it's either a PHP or a MediaWiki issue.

Marking this as "invalid" - I don't believe there's any way to fix this from within the SF code.