Skip to content

Commit 0c18b9c

Browse files
djugflodolo
authored andcommitted
Correct 'semi-colon' to 'colon' in router.php comment
1 parent f741760 commit 0c18b9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/inc/router.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

33
/*
4-
In Transvision we can have queries with a semicolon and a number that lead
4+
In Transvision we can have queries with a colon and a number that lead
55
to URLs that parse_url() can't parse probably because it thinks that it is a
66
port definition. ex:
77
?sourcelocale=en-US&locale=fr&repo=beta&search_type=entities&recherche=mail/chrome/messenger/mime.properties:1008
88
9-
That's why we escape the semicolon to %3A before parsing it and then revert
9+
That's why we escape the colon to %3A before parsing it and then revert
1010
that change in the query variable created.
1111
*/
1212
$url = parse_url(str_replace(':', '%3A', $_SERVER['REQUEST_URI']));

0 commit comments

Comments
 (0)