Uploaded image for project: 'Tupelo'
  1. Tupelo
  2. TUP-324

triple upload javascript hardcodes absolute webapp path in AJAX call

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.5
    • 2.4.3
    • Tupelo Server
    • None

      triple upload javascript hardcodes absolute webapp path in AJAX call:

      $.ajax({
      //url: '/tupelo/tupelo?method=MPUT&uri='uri'&format='+format,
      url: '/tupelo/tupelo?method=MPUT&format='+format,
      type: 'POST',
      contentType: 'text/xml',
      data: t,
      error: function(e,xhr)

      { $('#status').text("upload error: "+t); }

      ,
      success: function(r)

      { $('#status').text("triples uploaded"); }

      });

      the url should start "tupelo", not "/tupelo/tupelo"

              futrelle Joe Futrelle (Inactive)
              futrelle Joe Futrelle (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: