Menu

#15 Query part is trimmed from URLs

v1.0 (example)
closed-fixed
None
5
2021-07-14
2004-11-10
Phil Shaw
No

Where documents reference a resource with a query
part, the base URL is requested without the query. For
example, the relative href value below:

/servlets/Example?param1=value1&param2=value2

Is trimmed to:

/servlets/Example

No URLs with query parts appear to be checked.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    The query part is trimmed during URL normalizatin. You can fix this as follows:

    - download the sources
    - go to the class net.javacoding.jspider.core.util.URLUtil
    - commend out line 32: //urlString = normalizeStripQuery(urlString) ;
    - compile
    - have fun!

    Niko

     
  • EJP

    EJP - 2021-07-14
    • status: open --> closed-fixed
    • assigned_to: Günther Van Roey
    • Group: --> v1.0 (example)
     
  • EJP

    EJP - 2021-07-14

    Queyr removal has been made optional in the upcoming 1.0 release.

     

Log in to post a comment.

MongoDB Logo MongoDB