Question

In: Computer Science

why are which letters, such as A, B, C, ..., or signs, such as #, *,...

why are which letters, such as A, B, C, ..., or signs, such as #, *, •, ..., are not allowed to be sent on a URL to a Web server.

Solutions

Expert Solution

-> If we use capital alphabet like A, B, C in a URL, it causes issue if the website is hosted on Linux.
Suppose our URL is "www.test.com/About". If your website is on windows web server, it does not give cause any issue, because windows server is case insensitive. So even if you write "www.test.com/about" instead of "www.test.com/About", it does not cause any issue in windows server. But if the website is hosted on Linux, it considers "www.test.com/about" and "www.test.com/About" as two different URLs and will return you dead 404 page not found, if we call using "www.test.com/about". So it is better not to use capital alphabet like A, B, C etc to be sent on a URL to a web server.

-> #,*,. ...etc are considered as reserved characters in a URL. These reserved characters are used as delimiters in a URL. The main purpose of these characters is to act as delimiters that are distinguishable from other data in an URL. So these characters cannot be used directly on a URL to a web server. These characters must be percent-encoded if they are to be used in a URL.
eg: '%23' for '#', '%2A' for '*' etc.


Related Solutions

How many ways are there to arrange the letters ‘a’, ‘b’, ‘c’, ‘d’, and ‘e’ such...
How many ways are there to arrange the letters ‘a’, ‘b’, ‘c’, ‘d’, and ‘e’ such that ‘a’ is not immediately followed by ‘e’ (no repeats since it is an arrangement)? Justify your answer using the product rule, the sum rule, and/or the subtraction rule .
1)Find the permutation and combination of the letters a, b, c, d taking 2 at a...
1)Find the permutation and combination of the letters a, b, c, d taking 2 at a time. Verify your answers with the permutation & combination formula.2) 2.An urn contains 10 marbles. 3 blues, 4 yellow and 3 red marbles. 6 marbles is selected at random. Find the probability of picking 1 blue, 3 yellow marbles and 2 red ones. 3) A computer operator has to issue passwords made up of a letter followed by two digits. How many passwords are...
In how many ways can you rearrange the letters A, B, C, D, E?
In how many ways can you rearrange the letters A, B, C, D, E?
C++ Write a program that lets the user enter a two letters which are f and...
C++ Write a program that lets the user enter a two letters which are f and s with a length of 5. And outputs how many times it was occurred and lists the 2 most repeating pattern with 5lengths of f and s. The output display should always start at three-f(s) .Include an option where user can retry the program. Example: Input: sssfsfsfssssfffsfsssssfffsffffsfsfssffffsfsfsfssssfffffsffffffffffffssssssssfffsffffsssfsfsfsfssssfffsssfsfsffffffssssssffffsssfsfsfsss Output: The most repeating 5lengths of pattern is: fffsf and occurred 6times. Output2: The second most repeating...
1. a. How many permutations are there of the letters {A,B,C,D,E,F}? Of there, how many are...
1. a. How many permutations are there of the letters {A,B,C,D,E,F}? Of there, how many are even? b. Express the permutation BAFEDC in P6 in cycle notation and determine whether it is even or odd. c. Determine the composition BAFEDC*BCAFDE in P6. Is the composition even or odd? d. What is the members of P6 whose cycle notation (1345)(26)?
Suppose we continue to randomly select letters with replacement from the set {A, B, C, D,...
Suppose we continue to randomly select letters with replacement from the set {A, B, C, D, E, F}. Let T = be the number of letters we need to collect in order to have both letter E and letter F at least once. For example, suppose we have a sequence of letters CAEEBDF EA · · · . Then T = 7 in the above sequence. (a) Find the pgf of T. (b) Use the pgf of T in (a)...
Permutation and Combination 1. How many ways can the letters A B C be arranged, using...
Permutation and Combination 1. How many ways can the letters A B C be arranged, using each letter only once? 2. A code has 4 digits in a specific order, the digits are between 0-9. How many different permutations are there if one digit may only be used once? 3. In how many ways can three students be selected for a project from a group of fifteen students? 4. Richmond Machine Shop has eight machines but only three spaces available...
1) When randomly ordering the letters A, B, C, D, and E from left to right,...
1) When randomly ordering the letters A, B, C, D, and E from left to right, what the is probability that the first three on the left with be, in order, A B C. show how to solve. 2) Suppose 3 letters will be randomly selected from A, B, C, D, and E. what is the probability that the 3 letters chosen are A, B, and C? 3)Suppose that 3 balls will be randomly put into 3 buckets, with each...
[02] For n ≥ 1, how many strings of length n using letters a,b,c are there...
[02] For n ≥ 1, how many strings of length n using letters a,b,c are there if the letter a must occur an even number of times?
(6ptseach)Let A={a,b,c},B={b,c,d},C ={b,c,e}. (a) Explicitly find (i) A∪(B∩C), (ii)(A∪B)∩C, and (iii)(A∪B)∩(A∪C). (iv)Which of these sets are...
(6ptseach)Let A={a,b,c},B={b,c,d},C ={b,c,e}. (a) Explicitly find (i) A∪(B∩C), (ii)(A∪B)∩C, and (iii)(A∪B)∩(A∪C). (iv)Which of these sets are equal? (b) Explicitly find (i) A∩(B∪C), (ii)(A∩B)∪C, and (iii)(A∩B)∪(A∩C). (iv)Which of these sets are equal? (c) Explicitly find (i)(A−B)−C and (ii) A−(B−C). (iii)Are these sets equal?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT