[support] Drupal 7 - Firefox 15.0.1 - Strange Behavior

Earnie Boyd earnie at users.sourceforge.net
Fri Sep 28 12:20:59 UTC 2012


Why \\ instead of /?  You should always use / for a URI field.

Have you used the firefox debug tools?

Earnie

On Fri, Sep 28, 2012 at 4:47 AM, Kamal Palei <palei.kamal at gmail.com> wrote:
> Hi All
> I have a line of code as below.
>
>
> $data[$index]['Resume'] = '<a
> href="\ncjobs.com\sites\default\files\resumes\\' . $record->uid . '\\' .
> $record->filename .'" ' . 'target="_blank">' . $record->filename . '</a>';
>
> I am trying to show a link in one table cell.
>
> In IE8, this is working fine, I am able to download the file.
>
> In Firefox 15.0.1, this is not working, gets error "he requested URL
> /ncjobs.com/resume_search/skill_based_search/java/1/0/360/00/\ncjobs.com\sites\default\files\resumes\4\Chinmay_Pani
> mod.doc was not found on this server."
>
> I am wondering from where it is prepending
> "/ncjobs.com/resume_search/skill_based_search/java/1/0/360/00/" (this is
> nothing but the current URL, I wanted to access
> "\ncjobs.com\sites\default\files\resumes\4\Chinmay_Pani mod.doc" URL.
>
> If you have faced this issue, kindly let me know whats the work around.


More information about the support mailing list