Contents
Can URL contains comma?
Commas are allowed in the filename part of a URL, but are reserved characters in the domain*, as far as I know.
What is an unnecessary comma called?
Do not use a comma before a dependent clause that comes after an independent clause. This is called a disruptive comma.
How do you know if a comma is unnecessary?
Do not use a comma to set apart an adverb clause that is essential to the meaning of a sentence or an interjection when the comma would interfere with the sentence. A comma should not be used after although, such as, or like; after a coordinating conjunction; or along with end punctuation inside a quotation.
Do I put a comma in this sentence?
When an adverbial phrase begins a sentence, it’s often followed by a comma but it doesn’t have to be, especially if it’s short. As a rule of thumb, if the phrase is longer than about four words, use the comma.
How do you stop a comma?
To avoid this gaffe, don’t use commas to join independent clauses without a coordinating conjunction. Separate the sentences with a period or a semicolon. 3 Marrying Conjunctions and Commas You don’t always need a comma with a conjunction.
What are common comma mistakes?
One of the most common comma mistakes is not using a comma before a coordinating conjunction (such as “but”) when the conjunction connects two independent clauses: Incorrect: The man ate the pie but he didn’t pay the bill. Correct: The man ate the pie, but he didn’t pay the bill.
How do you use commas correctly?
Commas (Eight Basic Uses)
- Use a comma to separate independent clauses.
- Use a comma after an introductory clause or phrase.
- Use a comma between all items in a series.
- Use commas to set off nonrestrictive clauses.
- Use a comma to set off appositives.
- Use a comma to indicate direct address.
- Use commas to set off direct quotations.
Can a comma be used in an un-encoded url?
The comma is allowed, also in its un-encoded form, as it is a reserved character. Have a look at this RFC section: RFC 3986 – 2.2. As I understad this, it just depends on how your server handles URLs that contain a comma. Give it a try and find out.
Can a comma be used in a query string?
The comma is allowed in the path, query string and fragment according to spec. It wouldn’t surprise me if IE doesn’t conform to the spec though. Try the entity as Claudiu suggests, but I don’t know why that would be necessary. In addition to the answer by ConroyP, below is another citation to the RFC.
Can you send a comma separated parameter by querystring?
I don’t want to send like which can be quite long. You can use %2C, wich is the url-encoded value of ,. The comma is allowed, also in its un-encoded form, as it is a reserved character. Have a look at this RFC section: RFC 3986 – 2.2.
Can you use% 2C in an url?
You can use %2C, wich is the url-encoded value of ,. The comma is allowed, also in its un-encoded form, as it is a reserved character. Have a look at this RFC section: RFC 3986 – 2.2. Reserved Characters