You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "behnam nikbakht (Created) (JIRA)" <ji...@apache.org> on 2012/04/03 07:12:40 UTC

[jira] [Created] (NUTCH-1328) a problem with regex-normalize.xml

a problem with regex-normalize.xml
----------------------------------

                 Key: NUTCH-1328
                 URL: https://issues.apache.org/jira/browse/NUTCH-1328
             Project: Nutch
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.4
            Reporter: behnam nikbakht


there is a regex-pattern in regex-normalize.xml:
<pattern>([;_]?((?i)l|j|bv_)?((?i)sid|phpsessid|sessionid)=.*?)(\?|&amp;|#|$)</pattern>
that remove session ids from urls, but there is some sites, like:
http://www.mehrnews.com/fa
that have urls, like:
http://www.mehrnews.com/fa/newsdetail.aspx?NewsID=1567539
and with this pattern, this url converted to an invalid url:
http://www.mehrnews.com/fa/newsdetail.aspx?New

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (NUTCH-1328) a problem with regex-normalize.xml

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma closed NUTCH-1328.
--------------------------------

    Resolution: Duplicate

Closed in favor of NUTCH-706
                
> a problem with regex-normalize.xml
> ----------------------------------
>
>                 Key: NUTCH-1328
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1328
>             Project: Nutch
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.4
>            Reporter: behnam nikbakht
>              Labels: parse
>
> there is a regex-pattern in regex-normalize.xml:
> <pattern>([;_]?((?i)l|j|bv_)?((?i)sid|phpsessid|sessionid)=.*?)(\?|&amp;|#|$)</pattern>
> that remove session ids from urls, but there is some sites, like:
> http://www.mehrnews.com/fa
> that have urls, like:
> http://www.mehrnews.com/fa/newsdetail.aspx?NewsID=1567539
> and with this pattern, this url converted to an invalid url:
> http://www.mehrnews.com/fa/newsdetail.aspx?New

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NUTCH-1328) a problem with regex-normalize.xml

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410923#comment-13410923 ] 

Lewis John McGibbney commented on NUTCH-1328:
---------------------------------------------

+1 I suggest to close this thread and take the conversation over to NUTCH-706
                
> a problem with regex-normalize.xml
> ----------------------------------
>
>                 Key: NUTCH-1328
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1328
>             Project: Nutch
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.4
>            Reporter: behnam nikbakht
>              Labels: parse
>
> there is a regex-pattern in regex-normalize.xml:
> <pattern>([;_]?((?i)l|j|bv_)?((?i)sid|phpsessid|sessionid)=.*?)(\?|&amp;|#|$)</pattern>
> that remove session ids from urls, but there is some sites, like:
> http://www.mehrnews.com/fa
> that have urls, like:
> http://www.mehrnews.com/fa/newsdetail.aspx?NewsID=1567539
> and with this pattern, this url converted to an invalid url:
> http://www.mehrnews.com/fa/newsdetail.aspx?New

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NUTCH-1328) a problem with regex-normalize.xml

Posted by "Sebastian Nagel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410905#comment-13410905 ] 

Sebastian Nagel commented on NUTCH-1328:
----------------------------------------

Duplicate of NUTCH-706
                
> a problem with regex-normalize.xml
> ----------------------------------
>
>                 Key: NUTCH-1328
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1328
>             Project: Nutch
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.4
>            Reporter: behnam nikbakht
>              Labels: parse
>
> there is a regex-pattern in regex-normalize.xml:
> <pattern>([;_]?((?i)l|j|bv_)?((?i)sid|phpsessid|sessionid)=.*?)(\?|&amp;|#|$)</pattern>
> that remove session ids from urls, but there is some sites, like:
> http://www.mehrnews.com/fa
> that have urls, like:
> http://www.mehrnews.com/fa/newsdetail.aspx?NewsID=1567539
> and with this pattern, this url converted to an invalid url:
> http://www.mehrnews.com/fa/newsdetail.aspx?New

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira