Closed Bug 957395 Opened 12 years ago Closed 12 years ago

40 character limit for a URL in the Fraud Report page is much too short

Categories

(www.mozilla.org :: Pages & Content, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: kbrosnan, Assigned: sunnyday195)

References

()

Details

(Whiteboard: [kb=1256425] [mentor=jon@equalpartscreative.com])

URLs can be of any length. Accepting hundreds if not low thousands of characters seems like a more reasonable limit. http://www.boutell.com/newfaq/misc/urllength.html
Hi, Is it possible to get this assigned to me? Also what do you think the char. limit should be? Maybe like 2000? Thanks!
Hi ShanSM, Welcome! I've assigned the bug over to you and cc'd Jon Petto who originally worked on the page. He and I can help get you set up to work on this. Here is the documentation to get started working on Mozilla.org: http://bedrock.readthedocs.org/en/latest/ Jon, any opinions on character length?
Assignee: nobody → sunnyday195
Flags: needinfo?(jon)
Whiteboard: [mentor=jon@equalpartscreative.com]
Already had a pull request for this. https://github.com/mozilla/bedrock/pull/1594 should have updated the bug.
Assignee: sunnyday195 → kbrosnan
Welcome ShanSM! After a quick look, many of the fraud report form fields should have a larger max_length value. The original author should be ashamed at this oversight. Oh, wait...that was me. For the URL, I think a limit of 2000 is perfect. The other big one we should update is input_email, which is currently set to 80 characters. It looks like the maximum length of an email address is 254 characters (http://stackoverflow.com/questions/386294/what-is-the-maximum-length-of-a-valid-email-address), so I'd say go with that. input_specific_product and input_attachment_description are both a bit short as well. They could both be bumped up to 254, though you could make a case for input_attachment_description being even longer. Feel free to ping me if you have any questions or need any help getting bedrock up and running. :)
Flags: needinfo?(jon)
Kevin - Do you think you can easily update your pull request to address the updates outlined in comment 4? If you're busy, perhaps we can pass along to ShanSM? Thanks!
Flags: needinfo?(kbrosnan)
Sure I can pass it along. Have a bit of Firefox 27 beta stuff to deal with.
Flags: needinfo?(kbrosnan)
Assignee: kbrosnan → sunnyday195
Hey ShanSM - Looks like this one is all yours. Let me know if you have any questions or difficulty getting bedrock running. If you need real time help, hop on the #www channel on IRC (https://wiki.mozilla.org/IRC). Also, please comment if you're no longer able to take this on. Thanks!
Hi ShanSM - Just wanted to check in on this bug. How are things going? Anything I can help with?
Whiteboard: [mentor=jon@equalpartscreative.com] → [kb=1256425] [mentor=jon@equalpartscreative.com]
I presume this is still assigned to ShanSM?
(In reply to Jonathan Sundqvist from comment #9) > I presume this is still assigned to ShanSM? Hey Jonathan - It looks like ShanSM got busy with other things. Would you like to take this on?
Flags: needinfo?(shinryuu.jp)
Yes, I will take this one. I made a pull request on it here: https://github.com/mozilla/bedrock/pull/1650
Flags: needinfo?(shinryuu.jp)
Commits pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/f4243fa7c706b7ab311ea2486c4688fc0b401306 Fix Bug 957395 - 40 character limit for a URL in the Fraud Report page is much too short https://github.com/mozilla/bedrock/commit/6c44a1a3a0d1e57d62cd733d59ff748cbc9f78d9 Merge pull request #1650 from jonathan-s/bugfix Fix Bug 957395 - 40 character limit for a URL in the Fraud Report
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.