Closed Bug 814903 Opened 13 years ago Closed 9 years ago

absolute href at IDN (non-ASCII domain) becomes relative or something

Categories

(Firefox :: Untriaged, defect)

17 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: serega386, Unassigned)

Details

Attachments

(1 file)

Attached image firefox-16.0.2.png
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 Build ID: 20121119183901 Steps to reproduce: click link Actual results: page not found Expected results: page found
Please provide steps to reproduce and a testcase either attached or as URL
// jQuery function ins_video_response(arr) { $('#ans').html('<h3>Результат загрузки видеороликов '+arr.length+'</h3><table id="tbl"></table>'); for (var i = 0; i < arr.length; i++) { var row = arr[i]; var npp = row.npp; if (row.res == 'ok') { var msg = '<a target=_blank href="'+row.url+'">Просмотреть</a>'; } else { var msg = '<span class="denide">error: </span>'+row.message; } var cols = "<tr><td>" + npp + "</td> <td>" + msg + "</td> </tr>"; $('#tbl').append(cols); } }
I copy this from firebug(links not full): [Object { npp=1, res="ok", url="http://xn--80ardojfh.x...3538/rb-397-1253-detail"}, Object { npp=2, res="ok", url="http://xn--80ardojfh.xn...-3538/rb215-7884-detail"}, Object { npp=3, res="ok", url="http://xn--80ardojfh.xn...-3538/rb515-1866-detail"}, Object { npp=4, res="ok", url="http://xn--80ardojfh.xn...-3538/rb655-6935-detail"}]
page source: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="X-UA-Compatible" content="IE=8" /> <link rel="stylesheet" href="main.css" type="text/css" /> <script src="jquery-1.8.2.min.js" type="text/javascript"></script> <script src="jquery.form.js" type="text/javascript"></script> <script src="main.js" type="text/javascript"></script> </head> <body> </body> </html>
Summary: href → absolute href in non-ASCII URL becomes relative or something
Summary: absolute href in non-ASCII URL becomes relative or something → absolute href at non-ASCII IDN becomes relative or something
non-ASCII?
You could change it yourself.
Summary: absolute href at non-ASCII IDN becomes relative or something → absolute href at IDN (non-ASCII domain) becomes relative or something
(In reply to Matthias Versen [:Matti] from comment #1) > Please provide steps to reproduce and a testcase either *attached* or as *URL*
Flags: needinfo?(serega386)
Resolved Incomplete due to the lack of response from the reporter.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(serega386)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: