Why are round brackets escaped when copy/pasting URLs from Firefox, in contravention of RFC3987?

Go to any site, and add a 'hash fragment' to the end of the URL that contains round brackets. Copy that URL out of Firefox and paste into a text editor, like so:
https://developer.mozilla.org/en-US/#%28testing%29
Note that the round brackets have been escaped into %28 and %29 characters.
RFC3987 specifies that "(" and ")" are 'gen-delimiters' are are _not_ equivalent to their escape codes. Replacing these characters with their escape codes is as incorrect (according to the spec) as replacing the "$" or "!" characters (which are not escaped in FF or other browsers) and the "'" (apostrophe) character, which universally is. No, I don't understand it either.
Worse, this behavior does not match what the other major browsers do, so Firefox has essentially broken the promise that URLs are universal. If there are any reasons for doing this, they have not been made clear or documented, that I can find.
The hash fragment is increasingly being used to store 'client side' information, and so messing with these characters is breaking applications. I'm trying to understand if there's a good reason why, or just poor programming. In which case, I'll log a bug report.

Webbrowsers do not use RFC3987 at all. See section 1.2.a about Applicability. Maybe you should have a look at RFC3986 instead.
What is the delimiting role for the round brackets that would allow their unescaped use?

Similar Messages

  • Can't shown chinese text when copy & paste data from server to Outlook, Word & notepad, etc.( Office 2013)

    Can't shown chinese text when copy & paste data from server to Outlook, Word & notepad, etc.( Office 2013)

    Hi
    As per the information and details provided by you, when you copy & paste a data from server to Outlook, word, notepad, then you do not receive the Chinese text.
    For Outlook, please follow these steps: -
    Close and reopen Outlook in your western locale (or switch the windows system to your Western locale if you changed that),
    Manually change the message from Western to Chinese encoding, which you can do in all versions up to Outlook 2007.
    If you want to stay in your Chinese locale in Outlook 2007, then:
    After you hit reply, go to the Option tab > More Options.
    In the Encoding drop-down menu, select the Chinese encoding you are working in (Not the encoding used by the person who will receive the message)
    Note:
    To set the Chinese locale in all versions up to 2007 the controls are under.
    Tools > Options. In Outlook 2010 File tab > Options > Advanced > International options.
    Unicode (UTF-8)
    is a good setting for multilingual users.
    Check the
    Auto select 2007)/ Automatically select (2010) encoding box.
    I hope this information will be helpful for you.
    Thanks and regards
    Shweta@G 

  • CR duplication when Copy/Pasting text from a JTextArea

    I have a typical scenario of having text in a JTextArea. When I select some of that text and try to paste it either to an external text editor or even in the same JTextArea, I am getting extra line spaces in the screen.
    For example, if I have the following text:
    <a id=1>
       <b/>
    </a>When I copy paste it, I get:
    <a id=1>
       <b/>
    </a>When I looked to see what characters were being used for the CR, I see "\r\n". This is the standard line.seperator for Windows OS which is fine. When I save this text to a file using the Java I/O libraries, it is fine (no extra lines). But when copy/pasting it prints extra lines.
    Has anyone had similar problems?

    Has anyone had similar problems? No. How are you doing the copy/paste? Did you write your own routines or are you using the default Actions. By default, when a Document is loaded it will convert the "\r\n" end of line string to "\n" and store the single character in the Document. When you use the getText(..) method the enod of line string will be expanded to "\r\n" on a Windows system, but this should not happen in a copy/paste operation. How do you add data to your text area?
    This section from the Swing tutorial on "Text Component Features" has a working example of using copy/paste:
    http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html

  • Copy-paste HTML from firefox to Apple Mail

    When I try to copy-paste from Firefox 3 to Apple Mail, it only pastes simple text into my email message. It does not paste images or HTML-formatted text. Does anyone know a work around?
    This works for Safari to Apple Mail. I use "View in Safari" firefox add-on to make it easier to bounce to Safari when I need it. However, I would LOVE to get this working in Firefox. Any suggestions?
    Thanks

    Thanks for confirming.
    Does anyone know of any work-arounds, utility apps, or Apple Mail plug-ins to work it out? I tried Apples Copypaste and another clipboard enhancer that don't do the trick.
    Thanks!

  • How can I copy-paste text from Firefox to Apple Mail preserving all formatting? It works with Safari but not with Firefox, otherwise I'd pick Firefox

    I have a very big list of correspondents to whom I often send articles.
    I cannot copy them from Firefox and paste them onto Apple Mail because they look WEIRD and not at all like the original. Most formatting disappears.
    I do not encounter the same problem with Safari, and THAT is one of the two reasons I am forced to use it even if it gives me lots of problems.
    The other one is that Safari 5 has a built-in RSS reader, which is essential for my work.
    If you could manage to have those two things working, I'd pick Firefox in a second and advertise the fact to thousands who would do the same.

    Try one of these feed readers if the build-in Firefox reader doesn't suit you.
    *Brief: https://addons.mozilla.org/firefox/addon/brief/
    *Sage: https://addons.mozilla.org/firefox/addon/sage/

  • Why are my colors changing when copy and paste a graphic from docA to docB both in illustrator?

    Both documents in Illustrator CC are RGB and I'm trying to copy a logo onto a template, but the color of the logo completely changes when I copy and paste it into the template. The logo has three different pinks and they turn red when pasted. There is no graphic styling and the logo is all gradient.

    What is weird is that we get a lot of logos from the same company and we put it on shirt templates so they can see size wise on how it would look on shirts. It's happened with other logos, but very slightly. I asked my co-worker who sends me the logos what version she uses and she also uses CC but does not know what version the other company uses. To them, it doesn't matter if the logo colors get altered, they have the PMS colors to work off of for screen printing. I just want to make sure that if another company sends us logos with PMS colors, we will know how to fix it.

  • Freeze when copy paste text from word to Indesign CC

    Hi,
    I have a problem when working with indesign CC. When i'm copying text from word to Indesign, after a while my windows system freezes. Only Indesign works. Windows and word are frozen. After a while (several minutes) the system works agian.
    This problem occurs sinc I have Indesign CC.
    Windows 8, indesign CC, Word 2013
    I hope someone has a solution.
    Ragards Bas

    It's the PDF.
    Usually, you can copy text out of a PDF, but there is no guarantee *at all*. Older software used to take shortcuts to subset fonts: first character it encountered got coded as #1, the next as #2, etc. etc. If you do a search & replace of each of the nonsense characters, you'll slowly see the original text appearing (thst's not as simple as it sounds, though).
    A similar "problem" is that sometimes spaces don't get copied (there is no need for a "Space Character" in a PDF), and that you cannot copy contiguous lines of text as a single paragraph. All of it is because a PDF is not intended nor designed to be re-used after creation.
    If you really need this text and don't want to type it in, try to get hold of the original file.

  • Why are my images noisy when editing in PSE10 from LR4?

    My workflow is as follows:
    raw file, retouched in LR4
    chose "edit in PSE10"
    PSD file, 8 bit, srgb, 300 res
    Thank you!

      If you are exporting as sRGB then you are viewing in two different workspaces as Lightroom uses ProPhoto RGB. Try exporting to Elements as ProPhoto RGB and make sure your settings in Elements is set to Optimize for computer screens (Edit >> Color Settings).
    It will also help if you zoom in to at least 25% when viewing in the Elements Editor.
     

  • Are there add on cut/copy/paste buttons for Firefox 4???

    I don't like the functionality (or lack of) Firefox 4 without my toolbar/menu buttons, is there any way to add them or do I have to stick with Firefox 3.6...or go to another browser altogether???

    Click on your Firefox icon, then:
    View > Toolbars > CHECK the Menu Bar
    Once the Menu Bar is shown, you can customize your buttons:
    View > Toolbars > Customize
    and drag whatever buttons you want to wherever you prefer.

  • Why are my styles disappearing when I cut and paste?

    Why are my styles disappearing when I cut and paste?

    Go to Preferences, and then into ClipboardHandling. Click a radio button choice for All Information instead of Text Only.

  • Why does formatting get lost when copy and pasting slides between projects?

    I'm beginning to copy and paste several slides from a project that was created in Captivate 6. I've opened the project in 7.0.1 and saved it. Next, I've copy and pasted about 20-30 slides from the old project into my new template. In the process, many slides have lost "bold" and "bullets". It's worth noting that many slides have remained correct. I also find myself having to reset slide templates and toggle off quiz buttons that I've already toggled off in old project.
    This isn't part of the same problem, but related. When I copy slides from the new template I mentioned into the old one (in hopes that Advanced Actions would transfer correctly), I've noticed that none of the item names have transferred over with the copy and paste. Instead of seeing the button name I've created, it changes to "shape, text_caption, etc", the default.
    I'm hoping the copy pasting between projects becomes more efficient, I'm finding myself burning unneccessary time doing more QA and microscopic investigation, although I suppose more QA isn't always a bad thing.
    System is the following:
    OSX 10.8.5
    Captivate 7.0.1
    Safari 6.0.5
    Blood Type: oops, wrong forum.

    When copy/pasting between different versions that has always been a problem, especially with question slides. There seem always to be changes that make such a transfer difficult. Did you try to open the CP6 project first in CP7 and see what worked? And do you use exactly the same theme (object styles, master slides, skin editor)?
    Copy/paste slides, objects with advanced actions: bit same problem, works best if done between CP7 projects. The problem that each object needs to have a unique ID (name) is what causes the renaming to generic names.
    Lilybiri

  • I need to type in or copy/paste words from other languages (cyrillic for example) but when I do it the only thing I get is a "????????" instead of the word I want to type or insert. What should I do?

    That happens when I don't know how to write so I copy/paste words from other languages, it also happens when I copy words in other languages written in a Word document, and then paste it on a website using Mozilla. This doesn't happen when I use Internet Explorer.

    Well you second post was the correct question because I was going to say you got a second hand macbook pro, didn't change anything, and expected mail to work with your ISP.  The mail settings were thus those of the previous owner.  So you are correct to ask what your ISP's settings should be.
    Unfortunately I can't answer that.  You have to get that from your ISP.  They proably have a web page for it.
    You need to know:
    Incoming mail server (pop)
    Incoming mail server login name
    Incoming mail server password
    POP port
    Does is require SSL?
    Authentication for using POP server (probably password)
    Outgoing mail server (SMTP)
    Outgoing mail server login name (probably same as incoming)
    Outgoing mail server password (probably same sas incoming)
    SMTP port
    Does is require SSL?

  • Garbled text when copy-pasted from a pdf document in Preview

    I have this PDF document which I created in NeoOffice. When I copy some text from it, then paste it somewhere (or just go to Finder>Edit>Show Clipboard) I see garbled text. Or, if I go into the search field within Preview and type a word which I know exists in the PDF, it doesn't find it. But if I copy-paste it from the PDF document window into the search field, the copied term appears garbled in the search field itself, but I do get search results.
    This happens only with this particular document, which I myself produced. No password/encryption or anything weird; just a straightforward print job from within NeoOffice.
    Any clues? Many thanks.

    happens to me all the time in preview, copying something that I need to paste, like a URL. Quitting and relaunching usually solves it, but now that won't work on the text I am copying today.

  • Why are the options for "When Firefox starts" NOT clickable in Firefox 5? I want to choose "Windows and tabs that where opened last time you accessed the net" but Firefox won't let me.

    In the previous version of Firefox one could choose to save tabs so that when Firefox opened, all the tabs from the previous sessions appeared. This was done in Settings > Options > General > Startup. In the menu for the "When Firefox Starts" one had the option for "Windows and tabs that where opened last time you accessed the net." in Firefox 5.0, this menu is gray and not clickable. Help, please?

    ''Why are the options for "When Firefox starts" NOT clickable in Firefox 5?"
    Possibly you are not saving your "browsing history" which is what the session history is tied into.
    '''Not saving History''' -- check your settings for '''Tools > options > Privacy'''', make sure you are not clearing more than just cache in "Settings for Clearing History"
    * http://img232.imageshack.us/img232/4928/clearcachew.png
    * clearing your history at end of session, cache is the only one you would want to clear at end of session, if you don't want to lose things
    There are several things that are related to private browsing and not saving History
    * Private Browsing Ctrl+Shift+P
    * You selected "Never remember history" in first drop-down of Tools > Options Privacy and all of the check marks disappear (See picture above)
    * "Permanent private browsing mode" was check-marked under "Use custom settings for history" in the first drop-down of Tools > options > Privacy (see picture above)

  • Why are my notifications silent when I use my 4s on Toyota Fortuner bluetooth system, Why are my notifications silent when I use my 4s on Toyota Fortuner bluetooth system

    Why are my notifications silent when I connect my 4s to my Toyota Fortuner Bluetooth system ?

    Hi,
    The 'features' you refer to are not anything that a customer should really care about, so why don't you just turn them off.
    Do you really care about "Location-based iAds" - I've hardly ever even seen iAds!
    Do you really care about the time-zone updating based upon your international location - unless you are a very frequent traveller, this 'feature' is pretty useless and can be turned off without losing functionality that matters.
    The specific features to turn off are indicated in my post above - they are all in one place, they can all be turned off in about 20 seconds, and your problem will go away, and you will not lose any important functionality.
    Obviously I would agree with your point if you had to refrain from using the phone or making text messages, or playing games, or taking photos... all of which are genuinely useful features of a phone.
    But I disagree with you that you should deny yourself reasonable battery life on the basis that you need the specific features that made you buy this "Apple product and not an Android one" when these features are in fact not first-line, or even-second line features... they are just 'things' that make very little difference to how a person would use their iPhone at all.
    Anyway, that's my thoughts on it. Yes of course it would be great if Apple could fix the bug but as it isn't showstopping, I find it hard to get worked up about it

Maybe you are looking for