You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2019/01/18 10:39:00 UTC

[jira] [Resolved] (NUTCH-2687) Regex for reading title from Content-Disposition is wrong

     [ https://issues.apache.org/jira/browse/NUTCH-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma resolved NUTCH-2687.
----------------------------------
    Resolution: Fixed

remote: Sending notification emails to: ['"commits@nutch.apache.org" <co...@nutch.apache.org>']
remote: To git@github:apache/nutch.git
remote:    d0a4abf..9cc076f  9cc076f33746c34acfdeef8b3007bb5b0dec736d -> master
remote: Syncing refs/heads/master...
To https://gitbox.apache.org/repos/asf/nutch.git
   d0a4abfd..9cc076f3  master -> master


> Regex for reading title from Content-Disposition is wrong
> ---------------------------------------------------------
>
>                 Key: NUTCH-2687
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2687
>             Project: Nutch
>          Issue Type: Bug
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Major
>             Fix For: 1.16
>
>         Attachments: NUTCH-2687.patch
>
>
> Given URL: https://www.amuse-project.org/file/download/default/E6D0537647AF1204656076943F4729B0/Koopstra2016_5fOntologically%20classifying%20ERP%20feature,%20the%20NEXT%20method_5fFinal.pdf
> And regex: \\bfilename=['\"](.+)['\"]
> We get the following title:
> Koopstra2016_Ontologically classifying ERP feature, the NEXT method_Final.pdf"; filename*=utf-8'
> Changed regex to: \\bfilename=['\"]([^\"]+) fixes it



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)