We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Pasting URL with carriage return does not strip it anymore

  • 1 reply
  • 1 has this problem
  • 36 views
  • Last reply by philipp

more options

Hello,

it seems I have found a regression (or maybe a change ?) between version 28 and 29 of Firefox.

Previously, pasting:
"""
www.mozilla.
com
"""
into Firefox would open www.mozilla.com
now it sends me to / googles the string "www.mozilla. com"

I could reproduce and compare the results between
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
and
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

This is slightly annoying when trying to copy paste long URLs that span over multiple lines.

I remain available should you need more information, or if you think I should open a bug report for this.

Hello,<br/> <br/> it seems I have found a regression (or maybe a change ?) between version 28 and 29 of Firefox.<br/> <br/> Previously, pasting:<br/> """<br/> www.mozilla.<br/> com<br/> """<br/> into Firefox would open www.mozilla.com<br/> now it sends me to / googles the string "www.mozilla. com"<br/> <br/> I could reproduce and compare the results between<br/> Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0<br/> and<br/> Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0<br/> <br/> This is slightly annoying when trying to copy paste long URLs that span over multiple lines.<br/> <br/> I remain available should you need more information, or if you think I should open a bug report for this.

Modified by VxDman

All Replies (1)

more options

hello VxDman, i could replicate this changed behaviour in firefox 29 and above. you can try this as a workaround:
enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named editor.singleLine.pasteNewlines. double-click it, change its value to 3 and restart the browser for it to take effect.

http://kb.mozillazine.org/Editor.singleLine.pasteNewlines